Generate Derived Key from Shared Secret (ECDH-ES) - ConcatKDF

2.9k views Asked by At

I have used the https://github.com/ricmoo/GMEllipticCurveCrypto to generate a Shared Secret using ECDH Algorithm.

I now have to Generate a Derived Key using the ECDH-ES algorithm as mentioned here: https://www.rfc-editor.org/rfc/rfc7518#section-4.6

I had highly appreciate if someone could guide me in the direction of generating a Derived Key

1

There are 1 answers

0
John Tracid On

You need to read about KDF in general and HKDF as common example. BTW KDF was mentioned in link you provided.