Update to kotlin 1.6 (#63)

Use kotlin 1.6 (and gradle 7.5.1)
This commit is contained in:
Fabrice Drouin
2022-09-21 16:00:19 +02:00
committed by GitHub
parent d01a067159
commit d4eba9fb96
11 changed files with 116 additions and 138 deletions

View File

@@ -41,16 +41,16 @@ public interface Secp256k1 {
* Verify a Schnorr signature.
*
* @param signature 64 bytes signature.
* @param message message signed.
* @param pubkey signer's x-only public key (32 bytes).
* @param data message signed.
* @param pub signer's x-only public key (32 bytes).
*/
public fun verifySchnorr(signature: ByteArray, data: ByteArray, pub: ByteArray): Boolean
/**
* Create a Schnorr signature.
*
* @param message message to sign.
* @param privkey signer's private key.
* @param data message to sign.
* @param sec signer's private key.
* @param auxrand32 32 bytes of fresh randomness (optional).
*/
public fun signSchnorr(data: ByteArray, sec: ByteArray, auxrand32: ByteArray?): ByteArray