Class QubicFourQ

java.lang.Object
at.qubic.api.crypto.QubicFourQ
All Implemented Interfaces:
FourQ, SchnorrQubic

public class QubicFourQ extends Object implements FourQ, SchnorrQubic
  • Constructor Details

    • QubicFourQ

      public QubicFourQ()
    • QubicFourQ

      public QubicFourQ(String libName)
  • Method Details

    • ecc_mul_fixed

      public byte[] ecc_mul_fixed(byte[] in)
      Specified by:
      ecc_mul_fixed in interface FourQ
    • ecc_mul_fixed

      public void ecc_mul_fixed(byte[] in, byte[] out)
      Specified by:
      ecc_mul_fixed in interface FourQ
    • sign

      public byte[] sign(byte[] subSeed, byte[] publicKey, byte[] digest)
      Specified by:
      sign in interface SchnorrQubic
    • signWithNonceK

      public byte[] signWithNonceK(byte[] input, byte[] publicKey, byte[] digest)
      Specified by:
      signWithNonceK in interface SchnorrQubic
    • verify

      public boolean verify(byte[] publicKey, byte[] messageDigest, byte[] signature)
      Specified by:
      verify in interface SchnorrQubic