tagged_hash_byte_array
Create a tagged hash from byte arrays according to BIP-340 tagged hash specification
Arguments
tag- The tag string (e.g., “TapTweak”, “TapLeaf”)data- The byte array data to hash
Returns
ByteArray- The tagged hash as ByteArray array
Fully qualified path: alexandria_btc::taproot::tagged_hash_byte_array
pub fn tagged_hash_byte_array(tag: ByteArray, data: @ByteArray) -> ByteArray