Any example on how to do one way encryption in scratch like md5? I am helping out on making an os and would not like the passwords to be stored in plain text, because people would see your pass just by looking at the variables.
Offline
MD5 seems a bit too complicated for Scratch, it requires extremely complicated algorithms and operations repeated over and over...
One way encryption is a big ask... Even a simple cryptographic hash function would be near-impossible...
Instead of encryption, how about just using the Hidden Sprites method to hide a password? You can read about it here.
Offline
WeirdF wrote:
MD5 seems a bit too complicated for Scratch, it requires extremely complicated algorithms and operations repeated over and over...
One way encryption is a big ask... Even a simple cryptographic hash function would be near-impossible...
Instead of encryption, how about just using the Hidden Sprites method to hide a password? You can read about it here.
I know the hidden sprites method. It is very easy to crack.
Offline
So any other ways? I want the right answer. Maybe not md5 but some simpler way.
Offline
Well, here's an advanced example of two-way encryption. If you used similar scripts, but only the encoding ones, then unless somebody was extremely good at both logic, maths and Scratch, they couldn't figure out the scripts to decode it.
I know it's not exactly what you're looking for but one-way encryption is hard even in very complex programming languages...
Offline
jbthegreat wrote:
So any other ways? I want the right answer. Maybe not md5 but some simpler way.
Usually OSes don't store any useful information, more a fun thing to play around with. Unless you're using mesh or something.
Offline