Versions in this module Expand all Collapse all v1 v1.1.0 May 24, 2024 v1.0.1 Mar 9, 2021 Changes in this version + func Decrypt(key []byte, text string) (string, error) + func Decrypt2(key []byte, encMessage []byte) ([]byte, error) + func Encrypt(key []byte, text string) (string, error) + func Encrypt2(key []byte, message []byte) ([]byte, error) + func PKCS5Padding(cipher []byte, blockSize int) []byte + func PKCS5UnPadding(src []byte) []byte + func Pad(src []byte) []byte + func UnPad(src []byte) ([]byte, error)