Nuffilein805 Posted October 25, 2005 Posted October 25, 2005 (edited) i was bored so i made a ROT-256 encryption/decryption don't know if anyone already made 1 THIS 1 IS NOT SAFE! if you want to use it, do it on your own risk! anyway, here's the code ;rot-256 $a = InputBox ("Test", "Text eingeben") $b = rot_256 ($a) msgbox (0, $a, $b) func rot_256($string) $letter = StringSplit ($string, "") $max = $letter[0] + 1 dim $output[$max] dim $convert[$max] dim $rot_256 = "" for $i = 1 to $letter[0] step 1 $convert[$i] = Asc($letter[$i]) if $convert[$i] > -1 and $convert[$i] < 128 Then $convert[$i] = $convert[$i] + 128 $output[$i] = Chr($convert[$i]) ElseIf $convert[$i] > 127 and $convert[$i] < 256 Then $convert[$i] = $convert[$i] - 128 $output[$i] = Chr($convert[$i]) EndIf $rot_256 = $rot_256 & $output[$i] Next return $rot_256 EndFunc added a little testthingyrot_256.au3 Edited October 25, 2005 by Nuffilein805 my little chatmy little encryption toolmy little hidermy unsafe clickbot
Nuffilein805 Posted October 25, 2005 Author Posted October 25, 2005 oooops actually its rot 128 just had some problems thinking about the name thought well 256 chars gotta be 256, but its 128 sry bout that my little chatmy little encryption toolmy little hidermy unsafe clickbot
busysignal Posted October 30, 2005 Posted October 30, 2005 oooops actually its rot 128just had some problems thinking about the namethought well 256 chars gotta be 256, but its 128sry bout thatSo are you going to make a *safe* version?? Cheers..
Nuffilein805 Posted October 30, 2005 Author Posted October 30, 2005 rot-"whatever" can't be safe it can just make it harder for some1 to read a text if you know how its "encrypted" then you only need about 2sec to find out what is encrypted my little chatmy little encryption toolmy little hidermy unsafe clickbot
markusss Posted October 31, 2005 Posted October 31, 2005 Was bored too so i wrote a decrypt script and modified the encript one, now it writes the output to a file (the decrypt one does that too)^^The files are here: http://www.autoitscript.com/fileman/users/tdlrali/Some_random_stuff/Definately not safe, all I had to do to decrypt is change two (2^^) signs:+ -> - / - -> +Still kind of fun since it looks cool!Felix N.
Nuffilein805 Posted October 31, 2005 Author Posted October 31, 2005 no this is most likely the unsafest method to encrypt, but it is fun trying to write a script around this old method my little chatmy little encryption toolmy little hidermy unsafe clickbot
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now