/LC4

An implementation of ElsieFour (Alan Kaminsky 2017).

Primary LanguagePythonMIT LicenseMIT

Build Status

LC4

A Python library that implements ElsieFour (LC4) encryption, based on the algorithm from Kaminsky (2017).

Features

Demo

Requirements

LC4 supports Python 3.x.

Linux, Mac, and Windows are supported.

Other operating systems may be compatible if NumPy can be properly installed.

Installation

LC4 is available on PyPI, the Python Package Index.

$ pip3 install lc4

Documentation

See documentation.md.

Example Usage

See example.py.

Tests

Tests are in tests/.

# Run tests
$ python3 -m unittest discover tests -v

License

The code in this repository has an MIT License.

See LICENSE.

References

Kaminsky, Alan. “ElsieFour: A Low-Tech Authenticated Encryption Algorithm For Human-to-Human Communication,” 2017. https://eprint.iacr.org/2017/339.