Bitcoin Forum
June 23, 2024, 11:47:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to generate key pair for encryption/decryption AES-128 in a simple way  (Read 1074 times)
TookDk (OP)
Legendary
*
Offline Offline

Activity: 1960
Merit: 1062


One coin to rule them all


View Profile WWW
March 05, 2014, 09:57:44 AM
 #1

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) 

Cryptography is one of the few things you can truly trust.
TookDk (OP)
Legendary
*
Offline Offline

Activity: 1960
Merit: 1062


One coin to rule them all


View Profile WWW
March 09, 2014, 03:09:20 PM
 #2

I found a solution, topic is closed.

Cryptography is one of the few things you can truly trust.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!