Skip to content

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