A Python implementation of ElsieFour (LC4)
A Python library that implements ElsieFour (LC4) encryption, based on the algorithm in (Alan Kaminsky 2017).
- Support for custom alphabets
- An interactive command-line utility
- Optional verbose output that visually shows the steps of the algorithm
LC4 supports Python 3.x.
Linux, Mac, and Windows are supported.
Other operating systems may be compatible if NumPy can be properly installed.
LC4 is available on PyPI, the Python Package Index.
$ pip3 install lc4
Tests are in tests/.
# Run tests $ python3 -m unittest discover tests -v
The code in this repository has an MIT License.
Kaminsky, Alan. “ElsieFour: A Low-Tech Authenticated Encryption Algorithm For Human-to-Human Communication,” 2017. https://eprint.iacr.org/2017/339.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size lc4-0.3.0-py3-none-any.whl (7.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size lc4-0.3.0.tar.gz (7.5 kB)||File type Source||Python version None||Upload date||Hashes View|