Bitcoin Forum
April 25, 2024, 05:10:03 PM *
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 1066 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.
1714065003
Hero Member
*
Offline Offline

Posts: 1714065003

View Profile Personal Message (Offline)

Ignore
1714065003
Reply with quote  #2

1714065003
Report to moderator
1714065003
Hero Member
*
Offline Offline

Posts: 1714065003

View Profile Personal Message (Offline)

Ignore
1714065003
Reply with quote  #2

1714065003
Report to moderator
1714065003
Hero Member
*
Offline Offline

Posts: 1714065003

View Profile Personal Message (Offline)

Ignore
1714065003
Reply with quote  #2

1714065003
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714065003
Hero Member
*
Offline Offline

Posts: 1714065003

View Profile Personal Message (Offline)

Ignore
1714065003
Reply with quote  #2

1714065003
Report to moderator
1714065003
Hero Member
*
Offline Offline

Posts: 1714065003

View Profile Personal Message (Offline)

Ignore
1714065003
Reply with quote  #2

1714065003
Report to moderator
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!