# Functions
ByID returns [AlgorithmSuite] by its algorithmID 16-bit unsigned integer.
FromBytes returns [AlgorithmSuite] from slice of bytes, slice must have a length of 2 bytes.
goland:noinspection GoExportedFuncWithUnexportedType.
goland:noinspection GoExportedFuncWithUnexportedType.
ValidateCommitmentPolicy validates the commitment policy values.
ValidateContentType validates the content type values.
ValidateFrameLength validates the length of a frame.
ValidateMessageVersion validates the message format version values.
# Constants
BlockSize is aes.BlockSize in bits (16 * 8).
1 - FORBID_ENCRYPT_ALLOW_DECRYPT.
2 - REQUIRE_ENCRYPT_ALLOW_DECRYPT.
3 - REQUIRE_ENCRYPT_REQUIRE_DECRYPT.
Framed content is type 2, encoded as the byte 02 in hexadecimal notation.
Maximum allowed frame size which is math.MaxInt32.
Minimum allowed frame size.
Non-framed content is type 1, encoded as the byte 01 in hexadecimal notation.
Version 1 encoded as the byte 01 in hexadecimal notation.
Version 2 encoded as the byte 02 in hexadecimal notation.
# Variables
Algorithm ID: 00 14.
Algorithm ID: 01 14.
Algorithm ID: 02 14.
Algorithm ID: 00 46.
Algorithm ID: 01 46.
Algorithm ID: 03 46.
Algorithm ID: 04 78.
Algorithm ID: 05 78.
Algorithm ID: 00 78.
Algorithm ID: 01 78.
Algorithm ID: 03 78.
ErrAlgorithmSuite is returned when algorithm suite is invalid or not supported.
# Structs
AlgorithmSuite represents the algorithm suite used for encryption and decryption.
# Type aliases
CommitmentPolicy is a configuration setting that determines whether your application encrypts and decrypts with [key commitment].
ContentType is the type of encrypted data, either non-framed or framed.
EncryptionContext represents a map of string key-value pairs that are used to store contextual information for encryption operations.
MessageFormatVersion is the version of the message format.