crypt

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESDecrypt

func AESDecrypt(crypted, key, iv []byte) ([]byte, error)

AESDecrypt AES 解密

func AESEncrypt

func AESEncrypt(plaintext, key, iv []byte) ([]byte, error)

AESEncrypt AES加密

func MD5

func MD5(plainText []byte) string

MD5 MD5哈希加密, 返回32位字符串

func SHA1

func SHA1(plainText []byte) string

SHA1 SHA1哈希加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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