taggedHash

fun taggedHash(input: ByteArray, tag: String): ByteVector32

Return

the tagged hash of input as defined in BIP340

Parameters

input

data to be hashed

tag

tag name