Documentation ¶
Index ¶
- Constants
- func Decrypt(key, data []byte) ([]byte, error)
- func DecryptSimple(key, data []byte) ([]byte, error)
- func DeriveKey(password, salt []byte) ([]byte, []byte, error)
- func Encrypt(key, data []byte) ([]byte, error)
- func EncryptSimple(key, data []byte) ([]byte, error)
- func GenerateSimpleKey() ([]byte, error)
Constants ¶
View Source
const ( SaltLength = 32 KeyLength = 32 )
Variables ¶
This section is empty.
Functions ¶
func DecryptSimple ¶ added in v0.0.69
func EncryptSimple ¶ added in v0.0.69
func GenerateSimpleKey ¶ added in v0.0.69
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.