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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file cryptoolz-1.3.2.tar.gz.

File metadata

  • Download URL: cryptoolz-1.3.2.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for cryptoolz-1.3.2.tar.gz
Algorithm Hash digest
SHA256 67c503b782a7571ca377d1cf56936af5481bd0dabf632a0fd010dd24f864c1bc
MD5 bc4597182b9b096e424499059e595f19
BLAKE2b-256 bb7223b59a8e38d9f21fc0524e0fa5e0e3516d7c29287a812641f7ab42eba251

See more details on using hashes here.

File details

Details for the file cryptoolz-1.3.2-py2.py3-none-any.whl.

File metadata

  • Download URL: cryptoolz-1.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for cryptoolz-1.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 12cdbe299f7b76a51cd74cb07298bf9586ad991eeaa1459879552becf6e86df1
MD5 25f3a2d8f1a0be6a5303625781405e8d
BLAKE2b-256 5a694e25211669d49e2c61e8f3bfe553a64bc8df2b621049b4a60101a774b289

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