Skip to main content

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

Release files for hexafid 0.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hexafid 0.7.5
File Size Uploaded
hexafid-0.7.5.tar.gz 1.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hexafid 0.7.5
File Interpreter ABI Platform
hexafid-0.7.5-py3-none-any.whl Python 3 none any Details

Total release size: 1.8 MB

Release files / hexafid-0.7.5.tar.gz

Download URL hexafid-0.7.5.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
6f423c255afa3724429005984f03285a0396bd01752cd51483249aac9db90b76
BLAKE2b-256 checksum
How to use checksums
760a660d4ff89c1943dd5b091d99d5746673b67b0c2dc9945a41fd70cb5903f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / hexafid-0.7.5-py3-none-any.whl

Download URL hexafid-0.7.5-py3-none-any.whl
Size 40.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dd9b5e1971d760d2cb12baf1c9db8743bef0641c221fd4bca2a8ebfc5a5d756
BLAKE2b-256 checksum
How to use checksums
4e1996912574a7644c0454efab4281c87d9cdf082318af0564da3f8a0e859873
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.7.5 This release

2 release files

0.7.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page