Documentation
¶
Index ¶
Constants ¶
View Source
const ( // KeySize is the size of AES-256 keys in bytes KeySize = 32 // NonceSize is the size of AES-GCM nonces in bytes NonceSize = 12 // SaltSize is the size of PBKDF2 salts in bytes SaltSize = 32 // PBKDF2Iterations is the number of iterations for key derivation PBKDF2Iterations = 100000 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ColumnEncryptor ¶
type ColumnEncryptor struct {
// contains filtered or unexported fields
}
ColumnEncryptor handles encryption/decryption for column data
func NewColumnEncryptor ¶
func NewColumnEncryptor(key []byte) (*ColumnEncryptor, error)
NewColumnEncryptor creates a new column encryptor with the given key
Click to show internal directories.
Click to hide internal directories.