encryption

package
v0.0.0-...-cf93416 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHASH

func CheckPasswordHASH(passwd, hash []byte) error

CheckPasswordHASH check password with hash.

func GetPasswordHASH

func GetPasswordHASH(passwd []byte) ([]byte, error)

GetPasswordHASH return hashed password.

func RSADecrypt

func RSADecrypt(cipherText string, privKey rsa.PrivateKey) (string, error)

RSADecrypt implement decryption with rsa.

Types

This section is empty.

Jump to

Keyboard shortcuts

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