masvil Posted January 28, 2006 Share Posted January 28, 2006 I need a fast method to encode text; _StringEncrypt is too slow for my purposes.The only goal is to get the text unreadable. I mean I don't need "strong" encoding, just a fast "camouflage" routine. Link to comment Share on other sites More sharing options...
flyingboz Posted January 28, 2006 Share Posted January 28, 2006 I need a fast method to encode text; _StringEncrypt is too slow for my purposes.The only goal is to get the text unreadable. I mean I don't need "strong" encoding, just a fast "camouflage" routine.The biggest factor is likely length of the string to be obfuscated...and whether you need to be able to get theoriginal text back messing w/ each character in a huge string will be expensive , though likely faster than "real" encryption. ROT13 is a venerable method - you may find a fast CLI implementation to use, or write your own w/ loop stepped such that every nth character is obfuscated... etc. There are a few methods floating around that try to base64 stuff. Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 28, 2006 Moderators Share Posted January 28, 2006 or write your own w/ loop stepped such that every nth character is obfuscated... etc.I found the StringEncrypt() was also to slow in 1. Encoding, and 2. Deciphering, so I opted for the option as flyingboz has said here and wrote my own. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
w0uter Posted January 28, 2006 Share Posted January 28, 2006 (edited) most simple programs use XOR encryption. but that could also make you end up with a nullchar in your string. Edited January 28, 2006 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
masvil Posted January 29, 2006 Author Share Posted January 29, 2006 (edited) ROT13 is a venerable method - you may find a fast CLI implementation to use,Rot13 Udf by ezzetabi works good but it doesn't encode all chars (example: òàùèìù);ROT13 by killaz219 have same problem (plus it doesn't include not decoded chars at all);_Rot112() by ezzetabi is a good improvement but... again same problem as above;ROT 256 by Nuffilein805 seems to be good for my purpose, but himself says "THIS 1 IS NOT SAFE". We all know that ROT* stuff is very simple to decode, so I don't understand what does he mean. Any explanation? Edited January 29, 2006 by masvil Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 29, 2006 Moderators Share Posted January 29, 2006 Rot13 Udf by ezzetabi works good but it doesn't encode all chars (example: òàùèìù);ROT13 by killaz219 have same problem (plus it doesn't include not decoded chars at all);_Rot112() by ezzetabi is a good improvement but... again same problem as above;ROT 256 by Nuffilein805 seems to be good for my purpose, but himself says "THIS 1 IS NOT SAFE". We all know that ROT* stuff is very simple to decode, so I don't understand what does he mean. Any explanation?He's telling you the same thing as I said above. In order for something to be read by your script, it has to be decoded, so anything you put in text is not 100% safe because if your script is open, it can be read. (the text that is). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
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