package mirage-crypto-pk

  1. Overview
  2. Docs

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

Parameters

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.