Crypto_algo.Hkdf_params
HKDF key derivation parameters.
The type for HkdfParams
objects.
val v :
?name:Jstr.t ->
hash:Jstr.t ->
salt:Brr.Tarray.Buffer.t ->
info:Brr.Tarray.Buffer.t ->
unit ->
algo
v ~name ~hash ~salt ~info
is key derivation parameters object with given properties. name
defaults to "HKDF"
.
hash a
is the name of the digest function to use.
val salt : t -> Brr.Tarray.Buffer.t
salt a
is the random salt to use.
val info : t -> Brr.Tarray.Buffer.t
info a
is the info to use.