Tags: circuitpython* + python*

0 bookmark(s) - Sort by: Date ↓ / Title /

  1. import EasyCrypt keystring = "SixteenByteKey!!" inpstring = "Some super secret string, that I don't want you to see."

    This is the initialisation vector/nonce. I generated it with the below code. As you

    will need it to decrypt later on, you might want to store it and not just generate it each time

    I just generated it like this and printed this one out to store it.

    import os

    from binascii import hexlify, unhexlify

    ivstring = hexlify(os.urandom(16)).decode()

    ivstring = "aba0a3bde34a03487eda3ec96d5736a8"

    crypted = EasyCrypt.encrypt_string(keystring, inpstring, ivstring) print(crypted)

    decrypted = EasyCrypt.decrypt_string(keystring, crypted, ivstring) print(decrypted)

  2. 2022-06-12 Tags: , , , by klotz
  3. 2022-02-21 Tags: , , , , , , by klotz
  4. 2021-12-23 Tags: , , , , by klotz
  5. Built-in modules available: analogio, board, busio, digitalio, math, microcontroller, neopixel_write, nvm, os, pulseio, pwmio, random, rotaryio, rtc, storage, struct, supervisor, time, touchio, usb_hid, usb_midi

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: tagged with "circuitpython+python"

About - Propulsed by SemanticScuttle