Skip to main content

A Python implementation of ElsieFour (LC4)

Project description

Build Status

LC4

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

Features

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lc4-0.3.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

lc4-0.3.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file lc4-0.3.0.tar.gz.

File metadata

  • Download URL: lc4-0.3.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for lc4-0.3.0.tar.gz
Algorithm Hash digest
SHA256 182378d69ce46a05ad825485ab1227dd1c5b9761b9cdd9121e60fcb63e4a8f80
MD5 c4ad60b4d822691405af16161f3e7b6d
BLAKE2b-256 a762ee05927487b53db05041735bea71e8b6c0472368d4cfb29cdc6c1f604da4

See more details on using hashes here.

File details

Details for the file lc4-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: lc4-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for lc4-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc1699f91bd8ef3123b3762c7705f6212939fb0a334aae546227e03db2c1b6a4
MD5 8e6ed1a2604e979d5d6a84c947ad3f17
BLAKE2b-256 176d0cd56d7e23960869b33acfafb478429d6c4ae89b683f7a2188833ec4afd1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page