INPUT F$,K$RANDOMIZE 0,LEN(K$)F$="TXT:"+F$T$=LOAD(F$,0)FOR I=0TO-1+LEN(T$)E=ASC(T$[I])XOR ASC(K$[RND(LEN(K$))])IF E-13THEN T$[I]=CHR$(E)ENDIF:NEXT:SAVE F$+".",T$'12Me21(I'll upload it later) It uses XOR encryption, but instead of using each character of the key sequentially, it randomizes them, using the length of the password as a seed.
Encryptor/Decryptor
Root / Submissions / [.]
12Me21Created:
Download:4R34P3EDVersion:Size:
The code:
Replying to:incvoid
lets hope they dont' change the rnd function anytime soon, or else the returned seed could be different next update
I doubt that will happen.
I think the loop should begin FOR I=0TO, and I think the guard on the IF should be E=13.
Replying to:SquareFingers
I think the loop should begin FOR I=0TO, and I think the guard on the IF should be E=13.
Oh, yeah I made a typo in the FOR statement. (fixed)
The IF statement checks if E is NOT 13,
IF E!=13 THEN (encrypt character)
But to save space, I changed it to E-13, which equals 0 only if E is 13, and uses 1 less character.
Replying to:incvoid
lets hope they dont' change the rnd function anytime soon, or else the returned seed could be different next update
The RND function is a constant?
Replying to:incvoid
lets hope they dont' change the rnd function anytime soon, or else the returned seed could be different next update
No: but with a fixed seed, it is repeatable.
Replying to:Guzzler
So, does this let us put copy written material onto the server as long as it's encrypted?
I guess so... but that wasn't the original intent.
I made this to keep secret programs hidden from other people,.
Replying to:Guzzler
So, does this let us put copy written material onto the server as long as it's encrypted?
Okay. I might be using this for some practical applications...
How the heck are you even still here
What do you mean