package brr

  1. Overview
  2. Docs
On This Page
  1. Properties
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Crypto_algo.Hkdf_paramsSource

HKDF key derivation parameters.

Sourcetype t

The type for HkdfParams objects.

Sourceval 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".

Sourceval of_algo : algo -> t

of_algo a is an unsafe conversion from a.

Properties

Sourceval name : t -> Jstr.t

name a is the algorithm to use.

Sourceval hash : t -> Jstr.t

hash a is the name of the digest function to use.

salt a is the random salt to use.

info a is the info to use.