mencrypt

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(ciphertext, key []byte) ([]byte, error)

AesDecrypt Aes 解密

func AesEncrypt

func AesEncrypt(plaintext, key []byte) ([]byte, error)

AesEncrypt Aes 加密

func Compare

func Compare(inputPwd, hashPwd string) error

Compare 比较密码

func Encrypt

func Encrypt(inputPassword string) (string, error)

Encrypt 加密 inputPassword 未加密的密码

Types

This section is empty.

Jump to

Keyboard shortcuts

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