package nocrypto

  1. Overview
  2. Docs

K_gen can be instantiated over a hashing module to obtain an RFC6979 compliant k-generator for that hash.

Parameters

module H : Hash.S

Signature

val generate : key:priv -> Cstruct.t -> Z.t

generate key digest deterministically takes the given private key and message digest to a k suitable for seeding the signing process.

OCaml

Innovation. Community. Security.