# Functions
NewHybridEncryptionValue returns a new HybridEncryptionValue object for the given parameters.
NewKeyProvider creates a new KeyProvider.
# Constants
AesGcm represents AES with the block cipher mode GCM.
AesKeyBitLength is the used aes key length.
MaxRSAEncryptionLength defines the max length of values which will be encrypted with RSA instead of hybrid encryption.
NonceBitLength is the used nonce length.
# Variables
KeyProviders contains the list of implemented key providers and is dynamically filled by the providers in keys package.
# Structs
Encryption contains the type, used key and the nonce (needed for AES GCM).
HybridEncryptionValue contains an encrypted value and information about the encryption.
KeyPair represents a public/private key pair.
KeyProvider provides functions for en- and decryption.
No description provided by the author
PublicKey is the public key part of the KeyPair.
# Interfaces
Key interface defines the common functions of a key.