encrypt

package
v0.0.0-...-c605425 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHashSalt

func CompareHashSalt(hash string, password string) error

func DeCryptData

func DeCryptData(hash string, isInt bool, env string) (string, error)

func EnCryptData

func EnCryptData(originData string, env string) (string, error)

func EncryptBytes

func EncryptBytes(plaintext []byte, env string) ([]byte, error)

func HashAndSalt

func HashAndSalt(password string) (string, error)

进行密码的加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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