Documentation
¶
Overview ¶
Package cipher implements AES encryption with GCM, KDF Hash
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AES ¶
type AES struct {
// contains filtered or unexported fields
}
AES implements encrypt/decrypt AES algorithm (GCM)
func (*AES) NewInt32Salt ¶ added in v0.1.2
NewInt32Salt returns bytes for using salt
func (*AES) NewInt64Salt ¶
NewInt64Salt returns bytes for using salt
type Option ¶
type Option func(*AES)
Option defines configure AES settings
func WithHKDFHash ¶
WithHKDFHash configures Key Derivation Function (HKDF)
func WithHKDFInfo ¶
WithHKDFInfo configures Key Derivation Function (HKDF) info
Click to show internal directories.
Click to hide internal directories.