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

adding OAEP functionality #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

oskarvonephesos
Copy link
Contributor

Pure RSA is vulnerable to known plaintext, known cipher text and chosen plaintext attacks. OAEP provides a way to scramble a message before it is encrypted that is relatively quick and robust. This commit includes some code from https://github.com/amosnier/sha-2 . This may not be the fastest implementation and I have had some trouble with the use of uint8_t, but any kind of OAEP is better than nothing.

Feel free to message me about anything that doesn't make any sense in my commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant