Documentation ¶
Index ¶
- func Decrypt(cryted []byte, key string) ([]byte, error)
- func DecryptFromB64(cryted string, key string) (string, error)
- func Encrypt(orig []byte, key string) ([]byte, error)
- func EncryptToB64(orig string, key string) (string, error)
- func PKCS7Padding(ciphertext []byte, blocksize int) []byte
- func PKCS7UnPadding(origData []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.