package
1.1.3
Repository: https://github.com/protonmail/go-crypto.git
Documentation: pkg.go.dev

# Functions

HashIdToHash returns a crypto.Hash which corresponds to the given OpenPGP hash id.
HashIdToHashWithSha1 returns a crypto.Hash which corresponds to the given OpenPGP hash id, allowing sha1.
HashIdToString returns the name of the hash function corresponding to the given OpenPGP hash id.
HashToHashId returns an OpenPGP hash id which corresponds the given Hash.
HashToHashIdWithSha1 returns an OpenPGP hash id which corresponds the given Hash, allowing instances of SHA1.

# Constants

Supported modes of operation (see RFC4880bis [EAX] and RFC7253).
Supported modes of operation (see RFC4880bis [EAX] and RFC7253).
Supported modes of operation (see RFC4880bis [EAX] and RFC7253).
The following constants mirror the OpenPGP standard (RFC 4880).
The following constants mirror the OpenPGP standard (RFC 4880).
The following constants mirror the OpenPGP standard (RFC 4880).
The following constants mirror the OpenPGP standard (RFC 4880).
The following constants mirror the OpenPGP standard (RFC 4880).

# Variables

CipherById represents the different block ciphers specified for OpenPGP.
HashById represents the different hash functions specified for OpenPGP.
The following vars mirror the crypto/Hash supported hash functions.
The following vars mirror the crypto/Hash supported hash functions.
The following vars mirror the crypto/Hash supported hash functions.
The following vars mirror the crypto/Hash supported hash functions.
The following vars mirror the crypto/Hash supported hash functions.
The following vars mirror the crypto/Hash supported hash functions.
The following vars mirror the crypto/Hash supported hash functions.

# Interfaces

Cipher is an official symmetric key cipher algorithm.
Hash is an official hash function algorithm.

# Type aliases

AEADMode defines the Authenticated Encryption with Associated Data mode of operation.
No description provided by the author