taggedHash
bitcoinjs-lib / crypto / taggedHash
Function: taggedHash()
taggedHash(
prefix
,data
):Uint8Array
Defined in: ts_src/crypto.ts:95
Parameters
prefix
"BIP0340/challenge"
| "BIP0340/aux"
| "BIP0340/nonce"
| "TapLeaf"
| "TapBranch"
| "TapSighash"
| "TapTweak"
| "KeyAgg list"
| "KeyAgg coefficient"
data
Uint8Array
Returns
Uint8Array