Bitcoin Forum

Bitcoin => Project Development => Topic started by: TookDk on March 05, 2014, 09:57:44 AM



Title: How to generate key pair for encryption/decryption AES-128 in a simple way
Post by: TookDk on March 05, 2014, 09:57:44 AM
NIST defines a set of example vectors in the AES standard.
http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf

page 35:

The key used for the AES-128 encryption are:
000102030405060708090a0b0c0d0e0f

Later in the algorithm (in round 10) is the decryption key derived:
13111d7fe3944a17f307a78b4d2b30c5

This key is of cause needed to decrypt the message.

How do you in a simple way generate this key set?
Typically (in an application) the user will input a password, which will be converted into the encryption key.
How do decryption application generate the decryption key based on the encryption key?

In other words: if you know the key 000102030405060708090a0b0c0d0e0f, how do you calculate the key 13111d7fe3944a17f307a78b4d2b30c5.

Any help is much appropriated!
(this project is for academic use) 


Title: Re: How to generate key pair for encryption/decryption AES-128 in a simple way
Post by: TookDk on March 09, 2014, 03:09:20 PM
I found a solution, topic is closed.