Making text unreadable, 1 sample code works, 2 do not work
#6
Quote:dale y. second sample get ".This is my secret mes" only
Noted in code opening comments. Try a different key. (note key needs changing in 2 places)

Quote:dale y. third sample get "This is my secret message. 5"
changing the seed to RANDOMIZE, changes the "extra" character.
The dot dat file has one character too many. I don't see how.

Quote: It is essentially a One-Time Pad.
No it isn't. It is key stream. 

Both 2 and 3 are XOR. One with a single fixed modifier value (VERY unsecure), the other with a stream from a PRNG. note: RND is not a cryptographically secure PRNG.
Reply


Messages In This Thread
RE: Making text unreadable, 1 sample code works, 2 do not work - by Dale Yarker - 24.01.2026, 01:06

Forum Jump:


Users browsing this thread: 1 Guest(s)