Cashu-TS - v3.3.0
    Preparing search index...

    Function schnorrSignMessage

    • Signs a message string using Schnorr.

      Parameters

      • message: string

        The message to sign.

      • privateKey: PrivKey

        The private key to sign with (hex string or Uint8Array).

      Returns string

      The signature in hex format.

      Signatures are non-deterministic because schnorr.sign() generates a new random auxiliary value (auxRand) each time it is called.