| View previous topic :: View next topic |
| Author |
Message |
Superfraggle
Joined: 02 Nov 2004 Posts: 970 Location: London, UK
|
Posted: Wed Apr 23, 2008 1:26 am Post subject: Best encryption for ahk |
|
|
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 |
|
 |
Trikster
Joined: 15 Jul 2007 Posts: 1224 Location: Enterprise, Alabama
|
Posted: Wed Apr 23, 2008 1:31 am Post subject: |
|
|
| 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 |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 970 Location: London, UK
|
Posted: Thu Apr 24, 2008 12:41 am Post subject: |
|
|
Any other opinions or suggestions? _________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
SomeGuy
Joined: 21 Apr 2008 Posts: 96 Location: somewhere
|
Posted: Thu Apr 24, 2008 2:15 am Post subject: |
|
|
| 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 |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1494
|
Posted: Thu Apr 24, 2008 4:36 am Post subject: |
|
|
| 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...
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 |
|
 |
greynite
Joined: 17 May 2008 Posts: 11
|
Posted: Tue May 20, 2008 8:04 am Post subject: |
|
|
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 |
|
 |
heresy
Joined: 11 Mar 2008 Posts: 291
|
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 453
|
Posted: Tue May 20, 2008 3:15 pm Post subject: |
|
|
| 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 |
|
 |
|