Skip to content

aenglisc/hkdf_erlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HKDF

GitHub Workflow Status Erlang Hex.pm

An implementation of HKDF in Erlang.

Usage

derive key

OKM = hkdf:derive(sha384, <<"Never gonna give you up">>, 42).

extract key

PRK = hkdf:extract(sha384, <<"Never gonna give you up">>).

expand key

PRK = hkdf:extract(sha384, <<"Never gonna give you up">>).
OKM = hkdf:expand(sha384, PRK, 42).