package
Version:
v1.6.0-beta
Opens a new window with list of versions in this module.
Published: Nov 19, 2023
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Decrypt RSA decrypt ciphertext using private key
func DecryptFromBase64(base64Ciphertext, base64PrivateKey string) ([]byte, error)
DecryptFromBase64 base64 decode ciphertext and RSA decrypt
Encrypt RSA encrypt plaintext using public key
EncryptToBase64 RSA encrypt plaintext and base64 encode ciphertext
RSAKey RSA key pair
GenerateKey generate RSA key pair
Source Files
¶
Click to show internal directories.
Click to hide internal directories.