Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dstein64/lc4
An implementation of ElsieFour (Alan Kaminsky 2017).
https://github.com/dstein64/lc4
cryptography elsie-four lc4
Last synced: 19 days ago
JSON representation
An implementation of ElsieFour (Alan Kaminsky 2017).
- Host: GitHub
- URL: https://github.com/dstein64/lc4
- Owner: dstein64
- License: mit
- Created: 2018-05-27T22:24:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-13T00:47:18.000Z (6 months ago)
- Last Synced: 2024-10-23T03:27:19.945Z (24 days ago)
- Topics: cryptography, elsie-four, lc4
- Language: Python
- Homepage: https://pypi.org/project/lc4/
- Size: 696 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://github.com/dstein64/LC4/workflows/build/badge.svg)](https://github.com/dstein64/LC4/actions)
LC4
===A Python library that implements ElsieFour (LC4) encryption, based on the algorithm from
Kaminsky (2017).Features
--------- Support for custom alphabets
- An [interactive command-line utility](https://github.com/dstein64/LC4/blob/master/documentation.md#interactive-command-line-utility)
- Optional verbose output that visually shows the steps of the algorithmDemo
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](https://pypi.python.org/pypi/lc4) is available on PyPI, the Python Package Index.
```sh
$ pip3 install lc4
```Documentation
-------------See [documentation.md](https://github.com/dstein64/LC4/blob/master/documentation.md).
Example Usage
-------------See [example.py](https://github.com/dstein64/LC4/blob/master/example.py).
Tests
-----Tests are in [tests/](https://github.com/dstein64/LC4/blob/master/tests).
```sh
# Run tests
$ python3 -m unittest discover tests -v
```License
-------The code in this repository has an [MIT License](https://en.wikipedia.org/wiki/MIT_License).
See [LICENSE](https://github.com/dstein64/LC4/blob/master/LICENSE).
References
----------Kaminsky, Alan. “ElsieFour: A Low-Tech Authenticated Encryption Algorithm
For Human-to-Human Communication,” 2017. https://eprint.iacr.org/2017/339.