Versions in this module Expand all Collapse all v1 v1.0.1 Feb 16, 2020 v1.0.0 Feb 16, 2020 Changes in this version + func Decrypt(ciphertext []byte, key *[32]byte) ([]byte, error) + func DecryptFile(encFile, decrFile string, key *[32]byte) error + func Encrypt(text []byte, key *[32]byte) ([]byte, error) + func EncryptFile(filename, destfile string, key *[32]byte) error + func NewEncryptionKey(password, salt []byte) (*[32]byte, error) + func NewRandomEncryptionKey() *[32]byte