Skip to main content

A small high-level crypto library / cli toolset.

Project description

About

https://img.shields.io/pypi/v/cryptoolzf.svg https://img.shields.io/travis/mtugan/cryptoolzf.svg Documentation Status

What

This is a CLI app with crypto related tools and a high level slightly-circom-circuit-inspired crypto module. This is a heavy WIP, many more algorithms can be added, code can/must also be polished.

Tool

Description


keys
(offered)

Generates a keypair for a chosen network.
Encrypts the secret with a chosen algorithm combination.
The public key is shown during generation!
Can print a QR code or a basic PEM block!
primes
(offered)
Utility command for getting prime numbers of a certain
form.
crypto
(planned)
crypto will offer options for the above,
but generalized to plaintext encryption.

Modules offered

crypto is a “circuit”-like (slightly circom inspired) wrapper for pyca cryptography with pydantic data validation and sensible defaults:

  • Composited: PBDKF2-AESGCM

  • Key Derivation Functions: PBDKF2

  • Authenticated Encryption: AESGCM

  • Message Digests (Hash): BLAKE2b

Disclaimer

The use of this library is at your own risk. The developer and contributors of cryptoolzf are not liable for any types of damages caused through the use of anything which is part of this project.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

2.1.0 (2023-12-07)

  • Actually fix by adding reqs in setup.cfg install_requires.

2.0.0 (2023-12-07)

  • Fork by mtugan

  • Fix requirements.txt not being included.

1.3.2 (2023-02-06)

  • Fix data files in cryptoolzf/resources not being included.

1.3.0 (2023-02-06)

  • prime command.

  • Fix all instances of that write-to-file bug.

  • Some style formatting.

1.2.1 (2023-02-03)

  • Bugfix on main command because of a file object

  • Don’t print “No digest created!”, we might not plan digest, need to analyze utility first.

1.2.0 (2023-02-02)

  • Users couldn’t use 1 passphrase to decrypt entire text file if so encrypted.

  • QR format now also prints public key to QR. See Usage.

1.1.0 (2023-02-02)

  • Fix ugly abstractions in tools.keys and replace with something better.

1.0.2 (2023-02-01)

  • Minor config fixups.

1.0.1 (2023-01-30)

  • First release on PyPI.

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

cryptoolzf-2.1.0.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

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

cryptoolzf-2.1.0-py2.py3-none-any.whl (37.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cryptoolzf-2.1.0.tar.gz.

File metadata

  • Download URL: cryptoolzf-2.1.0.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for cryptoolzf-2.1.0.tar.gz
Algorithm Hash digest
SHA256 1aa759bc57708784173321672bfb4521958a9e8f4c60e129619a83e7a0868c0e
MD5 2e7fbe5957a63234db7caf731938b16e
BLAKE2b-256 3b21c6c70522e4d69c1646cd5def771b4c72ef60c1af3e2ec2a59eb9e3cb5255

See more details on using hashes here.

File details

Details for the file cryptoolzf-2.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: cryptoolzf-2.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 37.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for cryptoolzf-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1cdce8045f84ecb37b16f50cb1e73dc8115a8aae66da38744aac49ef5adb41d4
MD5 314c62035f36eb1ca52b776e244dc6de
BLAKE2b-256 a2e5702de6f814b4c073d07ec5164962b6fa410004a0622cd83bf50eb2dc6b0a

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