Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const verify = (
msg: Array,
sig: { R8: BigInt, S: BigInt },
pubKey: Array
): Boolean => {
return eddsa.verifyMiMCSponge(msg, sig, pubKey)
}
const verifySignature = (
plaintext: Plaintext,
signature: Signature,
pubKey: PubKey,
): boolean => {
return eddsa.verifyMiMCSponge(plaintext, signature, pubKey)
}