Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2019 Changes in this version + 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