Documentation ¶
Index ¶
- func AES128Decrypt(cipher, password string) (string, error)
- func AES128Encrypt(plain, password string) (string, error)
- func AES192Decrypt(cipher, password string) (string, error)
- func AES192Encrypt(plain, password string) (string, error)
- func AES256Decrypt(cipher, password string) (string, error)
- func AES256Encrypt(plain, password string) (string, error)
- func AESDecrypt(cipher string, key []byte) (string, error)
- func AESEncrypt(plain string, key []byte) (string, error)
- func RandomBytes(size int) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AES128Decrypt ¶
AES128Decrypt decrypts a string using AES128 with the passed password
func AES128Encrypt ¶
AES128Encrypt encrypts a string using AES128 with the passed password
func AES192Decrypt ¶
AES192Decrypt decrypts a string using AES192 with the passed password
func AES192Encrypt ¶
AES192Encrypt encrypts a string using AES192 with the passed password
func AES256Decrypt ¶
AES256Decrypt decrypts a string using AES256 with the passed password
func AES256Encrypt ¶
AES256Encrypt encrypts a string using AES256 with the passed password
func AESDecrypt ¶
AESDecrypt decrypts a string using the passed key
func AESEncrypt ¶
AESEncrypt encrypts a string using the passed key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.