This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# This file is an example of one possible way to encrypt data such that the encrypted output is in a form that is easily | |
# "readable" (or at least pronouncible) by humans. It takes its input (which this program assumes to be text, but | |
# making it work with binary data would not be difficult), and first compresses it with zlib, then encrypts it using AES | |
# encryption with the provided passphrase, then takes the result of the encryption and encodes it into words made of | |
# human-readable syllables. The result is something that looks like the following: | |
# | |
# $ ./pronenc.py -e dontusethispassword | |
# [input] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _SPI_REGS_H | |
#define _SPI_REGS_H | |
// Register definitions for the SPI peripherals on the ESP8266. | |
// | |
// There are twp SPI devices built into the ESP8266: | |
// SPI(0) is at 0x60000200 | |
// SPI(1) is at 0x60000100 | |
// (note that the device number order is reversed in memory) | |
// |