encryption

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(cipherByte []byte, keyText string) (plainText string, err error)

AesDecrypt AES解密

func AesEncrypt

func AesEncrypt(plainText string, keyText string) (cipherByte []byte, err error)

AesEncrypt Aes加密

func BcryptCheck

func BcryptCheck(hashStr string, readyStr string) bool

BcryptCheck Bcrypt校验

func BcryptEncrypt

func BcryptEncrypt(str string) (string, error)

BcryptEncrypt Bcrypt加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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