Micropython RSA functionality for RPi Pico Wireless #10048
Replies: 2 comments 8 replies
-
Take a look at ucrypto a library for elliptic curve cryptography via the module ufastecdsa For RSA the necessary math is implemented, take a look at ucrypto_number_1.py, but I have not implemented an 'ufastrsa' package for now, if you have time for do it all help is welcome 😁 |
Beta Was this translation helpful? Give feedback.
-
Just did a test on an ESP32-S3 (running at 240MHz) to compare performance of the pure Python adafruit_rsa package against the ucrypto package which uses C for the heavy lifting. I made some slight modifications to the The
The
The results:
So |
Beta Was this translation helpful? Give feedback.
-
I'm having trouble finding an asymmetric public-private key system (e.g. RSA) implemented in MicroPython that's compatible with RPi Pico or Pico W and can achieve the functionality of
python-rsa
per the docs:Also, I wasn't able to get
micropython-rsa-signing
working. It seems to lack the required functionality described above artem-smotrakov/micropython-rsa-signing#2Aside: Micropython's cryptolib is symmetric.
Beta Was this translation helpful? Give feedback.
All reactions