package tezos-client-base

  1. Overview
  2. Docs

Given a Hash/pseudorandom function, get the PBKDF

Parameters

Signature

val pbkdf2 : password:Stdlib.Bytes.t -> salt:Stdlib.Bytes.t -> count:int -> dk_len:int32 -> Stdlib.Bytes.t

pbkdf2 password salt count dk_len is dk, the derived key of dk_len octets.

  • raises Invalid_argument

    when either count or dk_len are not valid

OCaml

Innovation. Community. Security.