This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Elrond1369's profile picture

Simple Encryption utility (SEu)

Started by Elrond1369, 12 January 2013 - 04:42 AM
Elrond1369 #1
Posted 12 January 2013 - 05:42 AM
Simple Encryption utility (SEu)


SEu makes it easy to encrypt your files, just specify a file name and a password and SEu will do the rest. You can also encrypt in layers and have multiple passwords.
A bad decryption will never get written to your files because your password is included in the encryption and checked for when decrypting.
You can download SEu by installing my Package downloader and then run:

package download elrond1369 seu
or you can download directly
PixelToast #2
Posted 12 January 2013 - 06:01 AM
non indented
nothing is localized
ill look at the encryption itself later but it looks bad
you sould use psuedorandom functions for this
NeverCast #3
Posted 22 January 2013 - 07:45 PM
Yeah idk about this one, doesn't look that great. Sorry kid.
KillaVanilla #4
Posted 24 January 2013 - 03:53 PM
Aaargh, the lack of indentation. It burns my eyes. Also, the encryption algorithm itself doesn't look too secure.

On that note, I should really get around to finishing/starting my Rijndael implementation.
NeverCast #5
Posted 24 January 2013 - 04:02 PM
KillaVanilla, I considered it but implemented RC4 instead because it was easier.

If you want to hand type the sbox I will code the algorithm :P/>
KillaVanilla #6
Posted 25 January 2013 - 01:24 AM
KillaVanilla, I considered it but implemented RC4 instead because it was easier.

If you want to hand type the sbox I will code the algorithm :P/>

Thanks for the offer, but I've already written the algorithm / lookup tables. All that's left is the testing…
NeverCast #7
Posted 28 January 2013 - 12:09 PM
Oh very well done! Look forward to seeing it under apis sometime soon.
Elrond1369 #8
Posted 27 May 2013 - 09:34 PM
non indented
nothing is localized
ill look at the encryption itself later but it looks bad
you sould use psuedorandom functions for this
I can't localize any of it because the local variables won't work outside of the "if" and "while" statements. I am also working on a two password encryption. I already have a javascript version of it at http://novasapps.site40.net/2can.html This setup is way more secure because it will be harder to crack the encryption by writeing a script that tries diffrent passwords until it gets the right one
Elrond1369 #9
Posted 28 May 2013 - 01:00 AM
So aparently computercraft doesn't support the characters that are generated by the 2can encryption. Looks like I will have to try somthing else.