# Packages

Package kms contains KMS and KMS MRK Master Key implementations.
Package raw contains Raw Master Key implementation.

# Functions

NewBaseKey returns a new instance of [BaseKey].

# Variables

ErrDecryptKey is returned when the data key cannot be decrypted.
ErrEncryptKey is returned when the data key cannot be encrypted.
ErrGenerateDataKey is returned when the data key cannot be generated.

# Structs

BaseKey is implementation of [model.MasterKeyBase] that methods can be reused or overridden by other master key implementations.