← Back to Bitcoin Improvement Proposals
BIPinformationaltaprootkey-management

BIP341: add aux_rand argument to taproot_sign_key

The `schnorr_sign` function from the [bip340 reference code](https://github.com/bitcoin/bips/blob/master/bip-0340/reference.py#L98) has a third required argument `aux_rand: bytes`. Change: - ~adding `aux_rand` as an optional argument that defaults to `0x0000...`~ - adding `bip340_aux_rand` as a required argument to the function `taproot_sign_key`

No reviews
DariusParvin·Updated Jan 4, 2023·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

The schnorr_sign function from the bip340 reference code has a third required argument aux_rand: bytes.

Change:

  • ~adding aux_rand as an optional argument that defaults to 0x0000...~
  • adding bip340_aux_rand as a required argument to the function taproot_sign_key

Discussion (0 threads)

Loading discussions...