sign Schnorr
fun signSchnorr( data: ByteVector32, privateKey: PrivateKey, schnorrTweak: Crypto.SchnorrTweak, auxrand32: ByteVector32? = null): ByteVector64
Content copied to clipboard
Return
the Schnorr signature of data with private key (optionally tweaked with the tapscript merkle root)
Parameters
data
data to sign (32 bytes)
private Key
private key
schnorr Tweak
specify how to tweak the private key.
auxrand32
optional auxiliary random data