Documentation ¶
Index ¶
- func Base64Decoding(encodeString string) string
- func Base64Encoding(str string) string
- func CBCDecrypter(ciphertext, key []byte) ([]byte, error)
- func CBCEncrypter(plaintext, key []byte) ([]byte, error)
- func Md5Crypt(plaintext string, salt ...interface{}) string
- func PKCS5Padding(cipertext []byte, blocksize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func RsaDecrypt(ciphertext, privateKey []byte) ([]byte, error)
- func RsaEncrypt(origData, publicKey []byte) ([]byte, error)
- func SHA1Crypt(plaintext string, salt ...interface{}) string
- func ZeroPadding(ciphertext []byte, blockSize int) []byte
- func ZeroUnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CBCDecrypter ¶
func PKCS5UnPadding ¶
func RsaEncrypt ¶
func ZeroUnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.