Encryption method used?

Jan 13, 2013 at 2:40 PM

Hi,

I saw this software on Snapfiles today and it works really well and seems to be just what I'm looking for.

It is not clear to me though what encryption method is used. In the documentation it states in the entry 27 September 2011 (2.0 Beta) "Encryption process strengthen with Rijndael Algorithm (AES)". But in the entry 07 October 2011 (2.2) it states "All keys will be hashed by SHA512".

Forgive my ignorance as this is a bit too technical for me and I haven't found the answer through Googling - if its using SHA512 to encrypt does that mean it is no longer using AES?

Thanks.

Roger 

 

 

Coordinator
Jan 13, 2013 at 11:51 PM
Edited Jan 14, 2013 at 12:00 AM

Hi, it is a combination.

AES Encryption encrypt the source data with a key.

AES_Encrypt(Source Data , Key) = Encrypted Data

Key, in other words, is called password.

Example 1:

Key 1 = AA

Key 2 = A

Source Text = "abcd";

Example 2:

Key 1 = A

Key 2 = AA

Source Text = "abcd";

In the encryption process,

AES_Encrypt(Source Text , (Key 1 + Key 2)) = Encryption Result

then i would be

Example 1:

AES_Encrypt(abcd , (AA + A))

Example 2:

AES_Encrypt(abcd , (A + AA))

Result of Example 1 and Example 2 will be same.

But, if the key is Hashed with SHA512, 

Key 1 [A] will become

21B4F4BD9E64ED355C3EB676A28EBEDAF6D8F17BDC365995B319097153044080516BD083BFCCE66121A3072646994C8430CC382B8DC543E84880183BF856CFF5

and Key 2 [AA] will become

282154720ABD4FA76AD7CD5F8806AA8A19AEFB6D10042B0D57A311B86087DE4DE3186A92019D6EE51035106EE088DC6007BEB7BE46994D1463999968FBE9760E

therefore, there will a large difference between Example 1 and Example 2.

So basically, the formula will be something like this:

Result = AES_Encrypt( source text , ( SHA512(Key1) + SHA512(Key2) ) )

You can try to perform a SHA512 hash of any text at here: http://www.convertstring.com/Hash/SHA512

You can also do online AES Encryption here: http://www.everpassword.com/aes-encryptor

Jan 14, 2013 at 10:18 AM

Hi,

Thank you very much for going to the trouble of providing such a clear explanation - that is really helpful.

Thanks too for the excellent software!

Roger

Coordinator
Jan 14, 2013 at 11:20 AM
Edited Jan 17, 2013 at 5:14 AM

you're welcome.