Hashing implemented in WiPy?

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
Post Reply
soobrosa
Posts: 8
Joined: Thu Jun 02, 2016 9:29 am

Hashing implemented in WiPy?

Post by soobrosa » Mon Jul 25, 2016 1:49 pm

Hi,

description says that MD5 and SHA shouldn't be a problem. I could't find them on my WiPy?

Please help me, thanks,
Daniel

soobrosa
Posts: 8
Joined: Thu Jun 02, 2016 9:29 am

Re: Hashing implemented in WiPy?

Post by soobrosa » Mon Jul 25, 2016 3:11 pm

Even after upgrading to 1.8.2.

Code: Select all

>>> import uhashlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: module not found

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Hashing implemented in WiPy?

Post by pythoncoder » Mon Jul 25, 2016 3:38 pm

The micropython libraries are here https://github.com/micropython/micropython-lib. You need to install the ones you plan to use. It is done this way to conserve space on resource limited devices.
Peter Hinch
Index to my micropython libraries.

soobrosa
Posts: 8
Joined: Thu Jun 02, 2016 9:29 am

Re: Hashing implemented in WiPy?

Post by soobrosa » Tue Jul 26, 2016 9:52 am

Thanks!

soobrosa
Posts: 8
Joined: Thu Jun 02, 2016 9:29 am

Re: Hashing implemented in WiPy?

Post by soobrosa » Wed Jul 27, 2016 9:37 am

So it means that my noob question is what is the easiest way to get to a shell so one can

Code: Select all

$ pip-micropython install ...
?

Is

Code: Select all

upy-shell
the easiest way? https://github.com/dhylands/upy-shell

Thank you!

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Hashing implemented in WiPy?

Post by pythoncoder » Wed Jul 27, 2016 3:57 pm

Or just use FTP to copy across the Python library files you need.
Peter Hinch
Index to my micropython libraries.

soobrosa
Posts: 8
Joined: Thu Jun 02, 2016 9:29 am

Re: Hashing implemented in WiPy?

Post by soobrosa » Thu Jul 28, 2016 5:50 pm

Good point, thanks.

Post Reply