It sure wouldn't take long to crack, especially if you were bored and doing it by hand. It'd be great for a TV show hacker, though.
No-security ROT like this can be a good thing. Raymond Chen says there's ROT13 encoded stuff in the Windows registry. It's not about keeping you out of it, it's about saying "hey dummy, you really shouldn't mess with this."
The cool thing is you don't have to store the passwords. That's really the awesome bit. Imagine giant password database leaks that CAN'T happen because you DON'T have the information to leak. I wonder if there's a way to make that practical?
I created an example of using dynamically generated ROT# style encryption/decrypting of a file based on the password entered as a proof of concept on Pete's QB site's forum back in February. I figured it was worth posting on NE as well as it works surprisingly well. Using BSAVE and BLOAD keeps the f... more
So your cipher only handles about 26 values?- Puckdropper,Sun Aug 29 2021 2:32am
It's not just rotating through the alphabet.
To generate the key, it's the sum of the following for each character:
Their ASCII value multiplied by the position in the password string.
Here's the part that generates the key
cipherKey% = 0
FOR i% = 1 TO LEN(password)