package
0.0.82
Repository: https://github.com/mindersec/minder.git
Documentation: pkg.go.dev

# Functions

NewFromType instantiates an encryption algorithm by name.
TypeFromString attempts to map a string to a `Type` value.

# Constants

Aes256Cfb is the AES-256-CFB algorithm.
Aes256Gcm is the AES-256-GCM algorithm.

# Variables

ErrExceedsMaxSize is returned when the plaintext is too large.
ErrUnknownAlgorithm is returned when an incorrect algorithm name is used.

# Structs

AES256CFBAlgorithm implements the AES-256-CFB algorithm.
AES256GCMAlgorithm provides symmetric authenticated encryption using 256-bit AES-GCM with a random nonce.

# Interfaces

EncryptionAlgorithm represents a crypto algorithm used by the Engine.

# Type aliases

Type is an enum of supported encryption algorithms.