How to convert from bytearray/bytes in micropython?
How to convert from bytearray/bytes in micropython? Question: I’m hashing things with uhashlib in micropython on the pi pico. Here’s an example: import sys import os import uhashlib import time time_now = "blergh" hash_test = uhashlib.sha256(time_now).digest() print(time_now) print(hash_test) This outputs: blergh b’Y|x84Wxa1x1dx86cb~x0bLx1e\x92xcd-x93x05xddzx0exe1x9fx9axc1H6x93xd8x0c8′ …which, clearly, isn’t super useful. I’ve tried a bunch of things, but I …