Crate cypher

Source
Expand description

Implementation-independent abstractions for main cryptographic algorithms used for end-to-end encryption and authorization.

Modules§

display
ed25519ed25519
Edwards25519 curve keys and EdDSA algorithm implementation for Ed25519 scheme.
x25519x25519
Curve25519 keys and ECDH algorithm implementation for X25519 scheme.

Structs§

Cert
CertFormat
EcPkInvalid
EcSigInvalid
EcSkInvalid
Hmac

Enums§

EcSerError
EcVerifyError
EcdhError

Traits§

Digest
Digest32
Digest64
EcPk
Elliptic-curve based public key type which can be used in ECDH or signature schemes.
EcSig
Marker trait for elliptic-curve based signatures
EcSign
Signature scheme trait
EcSk
Elliptic-curve based private key type.
Ecdh
Elliptic-curve based public key type which can be used for ECDH.
HmacDigest
KeyedDigest

Type Aliases§

Sha256sha2
SHA-256 hasher.