Releases: adafruit/Adafruit_CircuitPython_RSA
Releases · adafruit/Adafruit_CircuitPython_RSA
Initial Release - CircuitPython_RSA
CircuitPython_RSA
is a port of Python-RSA, a pure-Python RSA implementation to CircuitPython.
Modifications from Python-RSA
- Command-line-specific tools have been removed from the library to save space.
- CPython Logging has been replaced with the Adafruit CircuitPython Logger Module.
- Miller–Rabin Primality test algorithm modified to support library's
fast_pow
, CircuitPython'spow()
does not support modular exponentiation. - CPython
binascii
andhashlib
modules replaced withAdafruit_CircuitPython_binascii
andAdafruit_CircuitPython_hashlib
Support for:
- RSA Key pair (private/public) generation
- Message encryption and decryption
- Signature creation and verification
- w/SHA-256, SHA-384, SHA-512 (using
Adafruit_CircuitPython_hashlib
, pure-python implementation. SHA-1 and MD5 are currently unsupported.)
- w/SHA-256, SHA-384, SHA-512 (using
Examples are provided for signature creation/verification, keypair generation and encryption/decryption, and a unit-test-like for testing future modifications to this library.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.