generateRfc6979Nonce

static if(BOTAN_HAS_PUBLIC_KEY_CRYPTO && BOTAN_HAS_RFC6979_GENERATOR)
generateRfc6979Nonce
(
const ref BigInt x
,
const ref BigInt q
,
const ref BigInt h
,
in string hash
)

Parameters

x BigInt

the secret (EC)DSA key

q BigInt

the group order

h BigInt

the message hash already reduced mod q

hash string

the hash function used to generate h

Meta