Bitcoin Forum
December 14, 2019, 02:09:51 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [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 995 times)
TookDk
Legendary
*
Offline Offline

Activity: 1666
Merit: 1040


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) 

Click here if you need escrow service: TookDk's Escrow Service

Cryptography is one of the few things you can truly trust
1576289391
Hero Member
*
Offline Offline

Posts: 1576289391

View Profile Personal Message (Offline)

Ignore
1576289391
Reply with quote  #2

1576289391
Report to moderator
1576289391
Hero Member
*
Offline Offline

Posts: 1576289391

View Profile Personal Message (Offline)

Ignore
1576289391
Reply with quote  #2

1576289391
Report to moderator
1576289391
Hero Member
*
Offline Offline

Posts: 1576289391

View Profile Personal Message (Offline)

Ignore
1576289391
Reply with quote  #2

1576289391
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1576289391
Hero Member
*
Offline Offline

Posts: 1576289391

View Profile Personal Message (Offline)

Ignore
1576289391
Reply with quote  #2

1576289391
Report to moderator
1576289391
Hero Member
*
Offline Offline

Posts: 1576289391

View Profile Personal Message (Offline)

Ignore
1576289391
Reply with quote  #2

1576289391
Report to moderator
TookDk
Legendary
*
Offline Offline

Activity: 1666
Merit: 1040


One coin to rule them all


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

I found a solution, topic is closed.

Click here if you need escrow service: TookDk's Escrow Service

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

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!