Module narwhal_crypto::traits
[−]Structs
Signature errors.
Constants
Traits
Trait impl’d by aggregated signatures in asymmetric cryptography.
Trait impl’d by signatures in asymmetric cryptography.
Cryptographic material with an immediate conversion to/from Base64 strings.
Trait impl’d by a public / private key pair in asymmetric cryptography.
Sign the provided message bytestring using
Self
(e.g. a cryptographic key
or connection to an HSM), returning a digital signature.Trait impl’d by private (secret) keys in asymmetric cryptography.
Trait impl’d by concrete types that represent digital cryptographic material
(keys). For signatures, we rely on
signature::Signature
, which may be more widely implemented.Trait impl’d by public keys in asymmetric cryptography.