Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- psha2_256 :: Term s (PByteString :--> PByteString)
- psha3_256 :: Term s (PByteString :--> PByteString)
- pblake2b_224 :: Term s (PByteString :--> PByteString)
- pblake2b_256 :: Term s (PByteString :--> PByteString)
- pkeccak_256 :: Term s (PByteString :--> PByteString)
- pripemd_160 :: Term s (PByteString :--> PByteString)
- pverifySignature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool)))
- pverifyEd25519Signature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool)))
- pverifyEcdsaSecp256k1Signature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool)))
- pverifySchnorrSecp256k1Signature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool)))
from V1
psha2_256 :: Term s (PByteString :--> PByteString) Source #
Hash a PByteString
using SHA-256.
psha3_256 :: Term s (PByteString :--> PByteString) Source #
Hash a PByteString
using SHA3-256.
pblake2b_224 :: Term s (PByteString :--> PByteString) Source #
Hash a PByteString
using Blake2B-224.
Since: 1.9.0
pblake2b_256 :: Term s (PByteString :--> PByteString) Source #
Hash a PByteString
using Blake2B-256.
pkeccak_256 :: Term s (PByteString :--> PByteString) Source #
Hash a PByteString
using Keccak-256.
Since: 1.9.0
pripemd_160 :: Term s (PByteString :--> PByteString) Source #
Hash a PByteString
using Ripemd_160.
Since: 1.9.0
pverifySignature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool))) Source #
Deprecated: use one of the Ed25519, Schnorr- or ECDSA Secp256k1 signature verification functions
Verify the signature against the public key and message.
pverifyEd25519Signature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool))) Source #
Verify an ED25519 signature arguments are in this order: pubkey, message, signature
from V2
pverifyEcdsaSecp256k1Signature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool))) Source #
Verify an ECDSA SECP256k1 signature arguments are in this order: pubkey, message, signature
pverifySchnorrSecp256k1Signature :: Term s (PByteString :--> (PByteString :--> (PByteString :--> PBool))) Source #
Verify a Schnorr SECP256k1 signature arguments are in this order: pubkey, message, signature