Documentation ¶
Index ¶
- func AesDecrypt(crypted, key []byte) ([]byte, error)
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func HashChunkWrite(h hash.Hash, bytes []byte) string
- func MD5(bytes []byte) string
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func Sha256(bytes []byte) string
- func StringMD5(v string) string
- func StringSha256(v string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func AesEncrypt ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
func StringSha256 ¶ added in v0.8.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.