Documentation ¶
Index ¶
- func DesDecrypt(crypted, key string) (string, error)
- func DesEncrypt(origData, key string) (string, error)
- func GaPwd(secretKey string) (pwd uint32, e error)
- func GaPwdStr(secretKey string) (pwd string, e error)
- func Md5(orig string) string
- func Md5Impl(orig []byte) []byte
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func Sha1(orig string) string
- func Sha1Impl(orig []byte) []byte
- func TripleDesDecrypt(crypted, key []byte) ([]byte, error)
- func TripleDesEncrypt(origData, key []byte) ([]byte, error)
- func ZeroPadding(ciphertext []byte, blockSize int) []byte
- func ZeroUnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DesDecrypt ¶
func DesEncrypt ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
func ZeroPadding ¶
func ZeroUnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.