Documentation ¶ Index ¶ func MD5(str string) string type AesCipher func NewAesCipher(key, iv string) (*AesCipher, error) func (a *AesCipher) DecryptAesBase64(b string) (string, error) func (a *AesCipher) EncryptAesBase64(in string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MD5 ¶ func MD5(str string) string MD5 returns the MD5 checksum of the data. Types ¶ type AesCipher ¶ type AesCipher struct { // contains filtered or unexported fields } func NewAesCipher ¶ func NewAesCipher(key, iv string) (*AesCipher, error) func (*AesCipher) DecryptAesBase64 ¶ func (a *AesCipher) DecryptAesBase64(b string) (string, error) DecryptAesBase64 解密 func (*AesCipher) EncryptAesBase64 ¶ func (a *AesCipher) EncryptAesBase64(in string) (string, error) EncryptAesBase64 加密 Source Files ¶ View all Source files ase.gomd5.go Click to show internal directories. Click to hide internal directories.