Skip to main content

A small high-level crypto library / cli toolset.

Project description

About

https://img.shields.io/pypi/v/cryptoolz.svg https://img.shields.io/travis/tanats_nir/cryptoolz.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 cryptoolz 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

1.3.2 (2023-02-06)

  • Fix data files in cryptoolz/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

cryptoolz-1.3.2.tar.gz (53.6 kB view hashes)

Uploaded Source

Built Distribution

cryptoolz-1.3.2-py2.py3-none-any.whl (37.0 kB view hashes)

Uploaded Python 2 Python 3

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