jackyyll Posted April 7, 2006 Share Posted April 7, 2006 Well, i've seen many encryption UDF's/programs/scripts on here, but which one is best? Which one is overall the best encryption method yet? Just wondering, no plans on using it yet.. Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 7, 2006 Share Posted April 7, 2006 Well, i've seen many encryption UDF's/programs/scripts on here, but which one is best? Which one is overall the best encryption method yet? Just wondering, no plans on using it yet.."Best" depends on what you want it to do, doesn't it? Maybe it would be better to ask:1. Which is fastest at encrypt/decrypt a file (and specify the size of the file or if it's a continuous stream)?2. Which has the strongest encryption?3. Which uses the least CPU cycles? The least memory?4. Which adds the least overhead bytes to the encrypted data?5. Which is compatible with certain hardware, apps, network interfaces, etc.?6. Which has error correction, and how many bad bits per byte/message?7. Which compiles into the smallest executable?8. Which was written by the best looking programmer?9. Including compression?10. Will it need to be run only in Win32? Also DOS, Win16, OSX, Unix, Linux, unleaded, diesel?Some of these things won't matter to you, some will be critical. Having collected all that information you can apply it to your particular application to find "Best". All seriousness aside, though, if you specify the application you have in mind, you'll get much more intelligent answer than this one! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
jackyyll Posted April 7, 2006 Author Share Posted April 7, 2006 Well im thinking of basically best as in fastest and strongest encryption Link to comment Share on other sites More sharing options...
Valuater Posted April 8, 2006 Share Posted April 8, 2006 straight from help expandcollapse popup#include <guiconstants.au3> #include <string.au3> ; GUI and String stuff $WinMain = GuiCreate('Encryption tool', 400, 400) ; Creates window $EditText = GuiCtrlCreateEdit('',5,5,380,350) ; Creates main edit $InputPass = GuiCtrlCreateInput('',5,360,100,20, 0x21) ; Creates the password box with blured/centered input $InputLevel = GuiCtrlCreateInput(1, 110, 360, 50, 20, 0x2001) $UpDownLevel = GUICtrlSetLimit(GuiCtrlCreateUpDown($inputlevel),10,1) ; These two make the level input with the Up|Down ability $EncryptButton = GuiCtrlCreateButton('Encrypt', 170, 360, 105, 35) ; Encryption button $DecryptButton = GuiCtrlCreateButton('Decrypt', 285, 360, 105, 35) ; Decryption button GUICtrlCreateLabel('Password', 5, 385) GuiCtrlCreateLabel('Level',110,385) ; Simple text labels so you know what is what GuiSetState() ; Shows window Do $Msg = GuiGetMsg() If $msg = $EncryptButton Then GuiSetState(@SW_DISABLE,$WinMain); Stops you from changing anything $string = GuiCtrlRead($EditText); Saves the editbox for later GUICtrlSetData($EditText,'Please wait while the text is Encrypted/Decrypted.'); Friendly message GuiCtrlSetData($EditText,_StringEncrypt(1,$string,GuiCtrlRead($InputPass),GuiCtrlRead($InputLevel))) ; Calls the encryption. Sets the data of editbox with the encrypted string ; The encryption starts with 1/0 to tell it to encrypt/decrypt ; The encryption then has the string that we saved for later from edit box ; It then reads the password box & Reads the level box GuiSetState(@SW_ENABLE,$WinMain); This turns the window back on EndIf If $msg = $DecryptButton Then GuiSetState(@SW_DISABLE,$WinMain); Stops you from changing anything $string = GuiCtrlRead($EditText); Saves the editbox for later GUICtrlSetData($EditText,'Please wait while the text is Encrypted/Decrypted.'); Friendly message GuiCtrlSetData($EditText,_StringEncrypt(0,$string,GuiCtrlRead($InputPass),GuiCtrlRead($InputLevel))) ; Calls the encryption. Sets the data of editbox with the encrypted string ; The encryption starts with 1/0 to tell it to encrypt/decrypt ; The encryption then has the string that we saved for later from edit box ; It then reads the password box & Reads the level box GuiSetState(@SW_ENABLE,$WinMain); This turns the window back on EndIf Until $msg = $GUI_EVENT_CLOSE; Continue loop untill window is closed 8) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 8, 2006 Moderators Share Posted April 8, 2006 What are you trying to Encrypt (.au3, .txt, .log, .dat, .bat, etc...)? 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...
jackyyll Posted April 8, 2006 Author Share Posted April 8, 2006 Most likely i would be encrypting various strings. Valuator, is the included encryption any good? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 8, 2006 Moderators Share Posted April 8, 2006 (edited) Most likely i would be encrypting various strings.Valuator, is the included encryption any good?The included _StringEncrypt() is good, and you can mod it to suit your needs.Edit:I should say... It isn't the fastest thing in the world however. Edited April 8, 2006 by SmOke_N 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...
jackyyll Posted April 8, 2006 Author Share Posted April 8, 2006 Yea, how slow is it? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 8, 2006 Moderators Share Posted April 8, 2006 Yea, how slow is it?Depends on how many levels you use... You're best to answer that question, I mean run it on what you want, then decode it, and test the speed. 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