Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
verifyEd25519Signature_V1 Source #
∷ ByteString | Public Key (32 bytes) |
→ ByteString | Message (arbitrary length) |
→ ByteString | Signature (64 bytes) |
→ BuiltinResult Bool |
Ed25519 signature verification This will fail if the key or the signature are not of the expected length. This version uses the cardano-crypto implementation of the verification function.
verifyEd25519Signature_V2 Source #
∷ ByteString | Public Key (32 bytes) |
→ ByteString | Message (arbitrary length) |
→ ByteString | Signature (64 bytes) |
→ BuiltinResult Bool |
Ed25519 signature verification This will fail if the key or the signature are not of the expected length. This version uses the cardano-crypto-class implementation of the verification function (using libsodium).