Cryptographic Primitives
Cryptographic primitives¶
Public key¶
type PublicKey := Curve25519PubKey ByteString;
instance
PublicKeyOrd : Ord PublicKey :=
mkOrd@{
cmp := \{_ _ := Equal};
};
Private key¶
type PrivateKey := Curve25519PrivKey ByteString;
instance
PrivateKeyOrd : Ord PrivateKey :=
mkOrd@{
cmp := \{_ _ := Equal};
};
Signature¶
Cryptographic signature.
type Signature := Ed25519Signature ByteString;
Digest¶
Message digest. Output of a cryptographic hash function.
type Digest := Blake3Digest ByteString;