-
Notifications
You must be signed in to change notification settings - Fork 12
Initial Code #1
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
Initial Code #1
Conversation
…TE: this implementation does not have SHA1
…ve sha1 reference, add mit license to top of init
… modular exponents
…ed MD5 and sha1 hashes
…so far until a pyasn1 lib exists for circuitpython
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm dya want to split hashlib out? i think that would be useful separate rather than embedded?
@ladyada I could split hashlib out - I held off splitting it off since it'll eventually be a core module. Should I also bring |
@ladyada Removed the Replaced Updated code successfully passes tests
|
CircuitPython_RSA is a port of Python-RSA, a pure-Python RSA implementation.
Modifications from initial library.
fast_pow
, CircuitPython'spow()
does not support modular exponentiation.adafruit_rsa/tools
added, pure-pythonbinascii
,warnings
, andhashlib
modules.Support for:
Examples are provided for signature creation/verification, keypair generation and encryption/decryption, and a unit-test-like for testing future modifications to this library.