Package at.qubic.api.crypto
Interface SchnorrQubic
- All Known Implementing Classes:
NoCrypto,QubicFourQ
public interface SchnorrQubic
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]sign(byte[] subSeed, byte[] publicKey, byte[] digest) byte[]signWithNonceK(byte[] nonceK, byte[] publicKey, byte[] digest) booleanverify(byte[] publicKey, byte[] messageDigest, byte[] signature)
-
Method Details
-
sign
byte[] sign(byte[] subSeed, byte[] publicKey, byte[] digest) -
signWithNonceK
byte[] signWithNonceK(byte[] nonceK, byte[] publicKey, byte[] digest) -
verify
boolean verify(byte[] publicKey, byte[] messageDigest, byte[] signature)
-