Cashu-TS - v4.0.0-rc3
    Preparing search index...

    Function schnorrSignDigest

    • Signs a message digest using Schnorr.

      Parameters

      • digest: DigestInput
      • 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.