Documentation ¶
Index ¶
- func Base64ToString(str string) string
- func Decrypt(key string, iv string, str string) (string, error)
- func Encrypt(key string, iv string, str string) (string, error)
- func GetRSAkey(bits int) error
- func Md5(str string) string
- func PKCS7Padding(origData []byte, blockSize int) []byte
- func PKCS7upPadding(origData []byte) []byte
- func PrivateRSADecrypt(str, key string) (string, error)
- func PublicRSAEncrypt(str, key string) (string, error)
- func StringToBase64(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64ToString ¶
func StringToBase64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.