Can't import ucryptolib

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
Twantie
Posts: 1
Joined: Wed Nov 24, 2021 10:47 am

Can't import ucryptolib

Post by Twantie » Wed Nov 24, 2021 11:07 am

Hello,

i have a Raspberry Pi Pico and I want to use the ucryptolib (https://docs.micropython.org/en/v1.15/l ... tolib.html) or the cryptolib (https://docs.micropython.org/en/latest/ ... ght=crypto) on this board.

First of all, what is the difference between the two libraries?

And somehow I am not able to import either of them.
I have read that certain libraries aren't supportet by certain boards, but I cant find anything about supported libraries of the Raspberry Pi Pico or any other board.

User avatar
scruss
Posts: 360
Joined: Sat Aug 12, 2017 2:27 pm
Location: Toronto, Canada
Contact:

Re: Can't import ucryptolib

Post by scruss » Wed Nov 24, 2021 8:07 pm

I don't think it's supported/provided in the RP2040 port:

Code: Select all

MicroPython v1.17 on 2021-09-02; Raspberry Pi Pico with RP2040
Type "help()" for more information.
>>> help('modules')
__main__          gc                uasyncio/funcs    uos
_boot             machine           uasyncio/lock     urandom
_onewire          math              uasyncio/stream   ure
_rp2              micropython       ubinascii         uselect
_thread           onewire           ucollections      ustruct
_uasyncio         rp2               uctypes           usys
builtins          uarray            uerrno            utime
cmath             uasyncio/__init__ uhashlib          uzlib
ds18x20           uasyncio/core     uio
framebuf          uasyncio/event    ujson

Post Reply