Documentation
¶
Index ¶
Constants ¶
View Source
const DEKSize = 32
DEKSize is the number of bytes in a DEK.
View Source
const RefSize = 32 + 32
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DEK ¶
DEK is a Data Encryption Key.
func DeriveKey ¶
DeriveKey takes 256 bits of entropy, a hash function, and additional material and returns a 32 byte DEK.
func (DEK) MarshalJSON ¶
func (*DEK) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.