schnorrSignHex()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / schnorrSignHex
Function: schnorrSignHex()
Section titled “Function: schnorrSignHex()”schnorrSignHex(
message,privateKey,auxRand?):`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:6019
Sign a message with Schnorr signature using hex inputs Convenience wrapper for schnorrSign
Parameters
Section titled “Parameters”message
Section titled “message”`0x${string}`
32-byte message as hex string
privateKey
Section titled “privateKey”`0x${string}`
32-byte private key as hex string
auxRand?
Section titled “auxRand?”`0x${string}`
Optional 32-byte auxiliary random data as hex string
Returns
Section titled “Returns”`0x${string}`
64-byte signature as hex string