Class Schnorr


  • public class Schnorr
    extends Object

    Schnorr Signatures for secp256k1

    BIP-0340
    • Method Detail

      • getNumBytes

        public static byte[] getNumBytes​(PointOperators po)
      • sign

        public static byte[] sign​(byte[] msg,
                                  byte[] seckey,
                                  byte[] auxRand)

        sign

        Parameters:
        msg - .
        seckey - .
        auxRand - .
        Returns:
        .
      • verify

        public static boolean verify​(byte[] msg,
                                     byte[] pubkey,
                                     byte[] sig)

        verify

        Parameters:
        msg - .
        pubkey - .
        sig - .
        Returns:
        .