Versions in this module Expand all Collapse all v0 v0.6.1 Feb 20, 2023 v0.6.0 Dec 15, 2022 Changes in this version + var ErrIncorrectPassword = errors.New("incorrect password") + var ErrPasswordEmpty = errors.New("password cannot be empty") + func Decrypt(password, salt, value string) ([]byte, error) + func Encrypt(password string, data []byte, noSalt bool) (string, string, error)