Documentation
¶
Index ¶
- func CheckPasswordHash(password, hash string) error
- func DecryptAES(key []byte, ct string) (string, error)
- func EncryptAES(key []byte, plaintext string) (string, error)
- func HashPassword(password string) (string, error)
- func RSA_OAEP_Decrypt(cipherText string, privKey rsa.PrivateKey, label string) (string, error)
- func RSA_OAEP_Encrypt(secretMessage string, key rsa.PublicKey, label string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func EncryptAES ¶
AES (Advanced Encryption Standard)
func HashPassword ¶
func RSA_OAEP_Decrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.