Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New RSA crypto functions, and new base64.DecodeBytes function #876

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

hairyhenderson
Copy link
Owner

@hairyhenderson hairyhenderson commented Jun 14, 2020

Fixes #800

Introduces 6 new functions:

  • crypto.RSAEncrypt
  • crypto.RSADecrypt
  • crypto.RSADecryptBytes
  • crypto.RSAGenerateKey
  • crypto.RSADerivePublicKey
  • base64.DecodeBytes

Also fixes a bug I found in conv.ToString where a []byte isn't converted to a string correctly.

Signed-off-by: Dave Henderson [email protected]

@hairyhenderson hairyhenderson force-pushed the rsa-crypto-800 branch 2 times, most recently from 4754096 to a131fea Compare June 15, 2020 01:19
@hairyhenderson hairyhenderson changed the title New RSA encrypt/decrypt functions, and new base64.DecodeBytes function New RSA crypto functions, and new base64.DecodeBytes function Jun 15, 2020
@hairyhenderson hairyhenderson merged commit 2fa8db2 into master Jun 15, 2020
@hairyhenderson hairyhenderson deleted the rsa-crypto-800 branch June 15, 2020 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: RSA Encryption
1 participant