encrypt

package
v1.4.0-201911212050 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(encryptText string, key string) string

func AesEncrypt

func AesEncrypt(orig string, key string) (string, error)

func Base64Decrypt

func Base64Decrypt(data string) ([]byte, error)

func Base64DecryptString

func Base64DecryptString(data []byte) ([]byte, error)

func Base64Encrypt

func Base64Encrypt(b []byte) string

func Base64EncryptString

func Base64EncryptString(text string) string

func MD5Encrypt

func MD5Encrypt(bs []byte) *md5Sum

func MD5EncryptReader

func MD5EncryptReader(reader io.Reader) *md5Sum

func MD5EncryptString

func MD5EncryptString(text string) *md5Sum

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL