package mirage-crypto-ec

  1. Overview
  2. Docs

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



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

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