Versions in this module Expand all Collapse all v1 v1.1.0 Apr 30, 2018 v1.0.1 Apr 9, 2018 Changes in this version + const Iterations + const KeyLen + const Memory + const NonceSize + const SaltSize + const Threads + func AesDecrypt(ciphertxt, nonce, key []byte) ([]byte, error) + func AesEncrypt(plain, nonce, key []byte) ([]byte, error) + func GenKey(pass []byte, salt []byte) []byte + func GenNonce(dst []byte) ([]byte, error) + func GenSalt() []byte + type KeyManager interface + DestroyKey func() error + GetKey func() []byte + type LKey struct + func NewLKey(passphrase, salt []byte) (*LKey, error) + func (k *LKey) DestroyKey() error + func (k *LKey) GetKey() []byte + func (k *LKey) GetSalt() []byte