Skip to main content

The Hexafid Cipher reference implementation

Project description

version PyPI - Python Version PyPI - Status Gitlab coverage license

Hexafid

Hexafid is an experimental block cipher. DANGER!

The project goals are to produce a cipher that:

  • works easily with pen and paper
  • secures confidentiality of information
  • offers plausible deniability if discovered
  • exhibits greater strength in software

Caveat Emptor

  • Hexafid began as a hobby project during the COVID-19 pandemic
  • The work has NOT yet been peer reviewed by the academic community
  • The algorithms have NOT yet been proven to have strong security
  • The software is released under an open source licence (MIT) that:
    • Limits ANY liability, and
    • Provides NO warranty

Documentation Home

https://hexafid.gitlab.io/hexafid

Installation

Use the package manager pip to install hexafid.

$ pip install hexafid

Usage

As an end user:

$ hexafid --version
$ hexafid --help
$ hexafid

As a developer:

from hexafid import hexafid_core as hexafid
hexafid.encrypt(message, key, mode, iv, period, rounds)  # returns ciphertext string
hexafid.decrypt(message ,key, mode, period, rounds)  # returns plaintext string

NOTE: use of these libraries assumes that you understand the cryptographic implications of changing parameters.

Contributing

Merge Requests are welcome. For all changes, please:

  1. open an Issue first to document the activity;
  2. label the Issue (e.g. Bug, Feature, Refactor, Suggestion, Test);
  3. update or add any related tests to support your work;
  4. create an associated Merge Request to discuss changes with a maintainer.

We expect team members to have minimum knowledge as found in https://www.coursera.org/learn/crypto.

Key areas of future research and development include:

  1. linear and differential cryptanalysis
  2. constraint optimized key search algorithm
  3. publishable reference implementation in C

License

MIT License

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

hexafid-0.7.4.tar.gz (145.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hexafid-0.7.4-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file hexafid-0.7.4.tar.gz.

File metadata

  • Download URL: hexafid-0.7.4.tar.gz
  • Upload date:
  • Size: 145.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for hexafid-0.7.4.tar.gz
Algorithm Hash digest
SHA256 4706dc61a877aff87c834d76567331b214b9e0fcd419d9934704d3c4904f0c81
MD5 0d92bdc87b2b6f0caae47bf3766e8e4a
BLAKE2b-256 413ef0314cb7ee9f7dc0a2a064fb8c4d8e97e5238f7bae023fdad97e4db57a33

See more details on using hashes here.

File details

Details for the file hexafid-0.7.4-py3-none-any.whl.

File metadata

  • Download URL: hexafid-0.7.4-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for hexafid-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a82fae08ed91784b718ad32ca3f91f622c62b47f7e7c1a430ad6b5dc39489f8d
MD5 ece1cf3a972cb3e03102be4a001d2c35
BLAKE2b-256 9b1f5dfdc5e1a9b95e9ab4c986e89caf088b3089f3d034c1044e6c773deb5ced

See more details on using hashes here.

Supported by

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