plutus-core-1.36.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusCore.Crypto.Ed25519

Synopsis

Documentation

verifyEd25519Signature_V1 Source #

Arguments

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 #

Arguments

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).