bip340 library

Functions

getPublicKey(String privateKey) String
Produces the public key from a private key
sign(String privateKey, String message, String aux) String
Generates a schnorr signature using the BIP-340 scheme.
verify(String publicKey, String message, String signature) bool
Verifies a schnorr signature using the BIP-340 scheme.
verifyWithPoint(ECPoint P, String message, String signature) bool