Documentation
¶
Index ¶
- Variables
- func AES128KeyFromPassword(withPassword, salt []byte) ([]byte, error)
- func AddBase64Padding(value string) string
- func DecryptCBC(key []byte, text string) (string, error)
- func EncryptCBC(key []byte, text string) (string, error)
- func Pad(src []byte) []byte
- func RemoveBase64Padding(value string) string
- func Unpad(src []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var UnpadError = errors.New("unpad error. This could happen when incorrect encryption key is used")
Functions ¶
func AES128KeyFromPassword ¶
func AddBase64Padding ¶
func RemoveBase64Padding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.