package tezos-client-base

  1. Overview
  2. Docs

Given a Hash/pseudorandom function, get the PBKDF

Parameters

Signature

val pbkdf2 : password:Tezos_base.TzPervasives.Bytes.t -> salt:Tezos_base.TzPervasives.Bytes.t -> count:int -> dk_len:int32 -> Tezos_base.TzPervasives.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.