Here is an example I made of how to make a One-time pad encryption in MMF2.
I made this because I am going to use it, but I thought I could also make an example of it and share it with you :-)
This example uses:
- 3 Edit boxes
- 3 List objects
- 3 Strings
- 2 buttons
- 12 counters (I could replace them with an array or something more convenient, but to make it simple to understand I made 12 counters. So you can see it in action)
This example uses only objects that follows with MMF2, so you can use it as windows EXE, Java Application, Java Internet Applet, Java Web Start, Java for mobile and SWF flash :-)
You can later replace counters with something else, this was just for making it more easy to understand and see it in action.
This example can both encrypt and decrypt.
If you don't know what one-time encryption is then you can take a look here at: Wikipedia
In cryptography, the one-time pad (OTP) is a type of encryption, which has been proven to be impossible to crack if used correctly.
I hope you like it :-)
NOTE: I also noticed a bug in the Edit Box Object. I'm not sure if I'm doing something wrong, but I cant use the horizontal scrollbar :-S
Best Regards
-Decal








