Botan

RFC 6979 Deterministic Nonce Generator

License
Botan is released under the Simplified BSD License (see LICENSE.md)

BigInt  generateRfc6979Nonce(ref const BigInt x, ref const BigInt q, ref const BigInt h, in string hash);

Parameters
BigInt x the secret (EC)DSA key
BigInt q the group order
BigInt h the message hash already reduced mod q
string hash the hash function used to generate h