Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESGCMDecrypt ¶
AESGCMDecrypt decrypts ciphertext with the provided key using the Galois/Counter Mode of operation with the AES algorithm.
func AESGCMEncrypt ¶
AESGCMEncrypt encrypts plaintext with the provided key using the Galois/Counter Mode of operation with the AES algorithm.
func RSADecrypt ¶
func RSADecrypt(ciphertext *[]byte, privateKey *rsa.PrivateKey) ([]byte, error)
RSADecrypt decrypts the given ciphertext using RSA-OAEP.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.