プレイ日記
Bonzargoes cactusfriend
Wrote a ROT(n) codec. Needed to take a break from dungeon gen :) Back in the day, people used to use ROT13 encoding in newsgroups to prevent each other from accidentally reading tv/movie/book spoilers, or punchlines to jokes...pretty handy!
1そうだね
プレイ済み
返信[1]
親投稿
Shy Guy™ shyguy224
Nice!
0そうだね
プレイ済み
返信[2]
親投稿
ĦHarry Ramstrong
That doesn't look like ROT13 to me. Even discounting A-M N-Z encoding, vrs letters are represented with only one symbol?
0そうだね
プレイ済み
返信[3]
親投稿
ĦHarry Ramstrong
ROT13. Also Caesar code. :)
0そうだね
プレイ済み
返信[4]
親投稿
Bonzargoes cactusfriend
Yeah, it's more like ROT(n) - it shifts the characters as far forward (or backward) into the built-in character table as you specify.
0そうだね
プレイ済み
返信[5]
親投稿
ĦHarry Ramstrong
So, more like a shift than a rotation. Hmmm. Have you tried implementing a one time pad seeded with RNG?
1そうだね
プレイ済み
返信[6]
親投稿
Bonzargoes cactusfriend
Nope! That's a good idea! I'm actually interested in performing some mild encryption on the save files for my game so that people can't (easily) cheat.
1そうだね
プレイ済み