Skip to main content
Language correction and a bit of logic reformatting.
Source Link
e-sushi
  • 18.1k
  • 12
  • 85
  • 235

In order to generate multiple session keys from a Diffie Hellman key agreement protocol, I'm trying to use the HKDF to generate this session keys. The HKDF algorithm uses an Extraction-Expand procedure. In the extraction proceduereprocedure, it takes as an input a salt and a source key (in my case it will be the diffie hellmanDiffie Hellman generated key). I know that the salt it is a random non-secret value, my.

My question is: How do I establish this random salt value between two entities? Can I set this value by applying a hash function to my diffie hellmanDiffie Hellman key i.e. salt=hash(diffie_hellman_key)like Salt = HashFunction(DiffieHellmanKey)?

Thenks in advance.

In order to generate multiple session keys from a Diffie Hellman key agreement protocol I'm trying to use the HKDF to generate this session keys. The HKDF algorithm uses an Extraction-Expand procedure. In the extraction proceduere it takes as an input a salt and a source key (in my case it will be the diffie hellman generated key). I know that the salt it is a random non-secret value, my question is: How do I establish this random salt value between two entities? Can I set this value by applying a hash function to my diffie hellman key i.e. salt=hash(diffie_hellman_key)?

Thenks in advance.

In order to generate multiple session keys from a Diffie Hellman key agreement protocol, I'm trying to use the HKDF to generate this session keys. The HKDF algorithm uses an Extraction-Expand procedure. In the extraction procedure, it takes as an input a salt and a source key (in my case it will be the Diffie Hellman generated key). I know that the salt it is a random non-secret value.

My question is: How do I establish this random salt value between two entities? Can I set this value by applying a hash function to my Diffie Hellman key like Salt = HashFunction(DiffieHellmanKey)?

Tweeted twitter.com/#!/StackCrypto/status/380802801544466432
Source Link

Generating keys with HKDF from Diffie Hellman agreement

In order to generate multiple session keys from a Diffie Hellman key agreement protocol I'm trying to use the HKDF to generate this session keys. The HKDF algorithm uses an Extraction-Expand procedure. In the extraction proceduere it takes as an input a salt and a source key (in my case it will be the diffie hellman generated key). I know that the salt it is a random non-secret value, my question is: How do I establish this random salt value between two entities? Can I set this value by applying a hash function to my diffie hellman key i.e. salt=hash(diffie_hellman_key)?

Thenks in advance.