AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Best encryption for ahk

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Superfraggle



Joined: 02 Nov 2004
Posts: 970
Location: London, UK

PostPosted: Wed Apr 23, 2008 1:26 am    Post subject: Best encryption for ahk Reply with quote

I know there are several encryption examples/scripts/functions. I just wondered which one is the most secure/reliable.

And how secure they are on say a level of 1-10. I mean if I was to encypt some data using them and save it locally, if someone got hold of the local file what would the chances be of it being hacked??
_________________
Steve F AKA Superfraggle

http://r.yuwie.com/superfraggle
Back to top
View user's profile Send private message MSN Messenger
Trikster



Joined: 15 Jul 2007
Posts: 1224
Location: Enterprise, Alabama

PostPosted: Wed Apr 23, 2008 1:31 am    Post subject: Reply with quote

I would have to say MD5 is the most secure because no matter how long the string you want to encrypt is, it is always put in a 32 len encrypted string. I would rate it about a 9.2 (The longer the string, the more secure IMHO)
Back to top
View user's profile Send private message
Superfraggle



Joined: 02 Nov 2004
Posts: 970
Location: London, UK

PostPosted: Thu Apr 24, 2008 12:41 am    Post subject: Reply with quote

Any other opinions or suggestions?
_________________
Steve F AKA Superfraggle

http://r.yuwie.com/superfraggle
Back to top
View user's profile Send private message MSN Messenger
SomeGuy



Joined: 21 Apr 2008
Posts: 96
Location: somewhere

PostPosted: Thu Apr 24, 2008 2:15 am    Post subject: Reply with quote

Ian wrote:
I would have to say MD5 is the most secure because no matter how long the string you want to encrypt is, it is always put in a 32 len encrypted string. I would rate it about a 9.2 (The longer the string, the more secure IMHO)


WTF....MD5 is a hash...not encryption....something that is encrypted can be decrypted....

please provide sample code on how to decrypt the MP4 file from this 7e6abde9de1b38bf3a0b3b266eccecad
Superfraggle wrote:

Any other opinions or suggestions?

anything from Laszlo is probably good...since he was a cryptology researcher and all....
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 1494

PostPosted: Thu Apr 24, 2008 4:36 am    Post subject: Reply with quote

SomeGuy wrote:
Ian wrote:
I would have to say MD5 is the most secure because no matter how long the string you want to encrypt is, it is always put in a 32 len encrypted string. I would rate it about a 9.2 (The longer the string, the more secure IMHO)


WTF....MD5 is a hash...not encryption....something that is encrypted can be decrypted....


Yes, well,.... in Ian's defense, the most secure way to store data is on write-only memory... Razz

I wrote an encryption function (link in my sig), though it's probably not as secure as professional encryption.
_________________
My Home Thread
More Common Answers: [1]. It's in the FAQ [2]. Ternary ( a ? b : c ) guide [3]. Post code inside [code][/code] tags !
Back to top
View user's profile Send private message
greynite



Joined: 17 May 2008
Posts: 11

PostPosted: Tue May 20, 2008 8:04 am    Post subject: Reply with quote

AES is the current "best" balance between high security and speed / complexity. Other currently viable options include Blowfish, Twofish, and 3DES.

You can always trade increased security for decreased performance by using chained cyphers, e.g. AES with Key 1, the output of which is then run through AES again using Key 2 (effectively increasing the length of the key). This of course can be continued past the point of sanity leading to effectively write-only memory mentioned by [VxE].

Personally I used chained AES-128 + TwoFish for the TruCrypt volume on my USB flash drive. The weak link of course is my choice of password, which is only rated to approximately 68 bits.

Superfraggle wrote:
[...]if I was to encypt some data using them and save it locally, if someone got hold of the local file what would the chances be of it being hacked??


Pretty good regardless of your choice of cyper, since the primary attach vector is human -- in other words, the real issue is your choice of a key. The key should be at least 20 characters. Pick a good key, and you can expect your secrets to be safe.

Cheers,
Shawn
Back to top
View user's profile Send private message
heresy



Joined: 11 Mar 2008
Posts: 291

PostPosted: Tue May 20, 2008 9:37 am    Post subject: Reply with quote

i don't know much about encryption but i saw that everywhere saying MD5 is unsecure
http://en.wikipedia.org/wiki/MD5 also check this http://www.cryptopp.com/

Superfraggle wrote:

anything from Laszlo is probably good...since he was a cryptology researcher and all....
wow
_________________
Easy WinAPI - Dive into Windows API World
Benchmark your AutoHotkey skills at PlayAHK.com
Back to top
View user's profile Send private message
Oberon



Joined: 18 Feb 2008
Posts: 453

PostPosted: Tue May 20, 2008 3:15 pm    Post subject: Reply with quote

I agree with greynite, AES is the most suitable algorithm for encryption. For hashing I would recommend crc32 over md5 because its much faster.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group