Author

Topic: How to generate key pair for encryption/decryption AES-128 in a simple way (Read 1094 times)

legendary
Activity: 1960
Merit: 1062
One coin to rule them all
I found a solution, topic is closed.
legendary
Activity: 1960
Merit: 1062
One coin to rule them all
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) 
Jump to: