Skip to main content

A cryptography librairy

Project description

Cryptcrro is a python cryptographic library.

Cryptcrro includes both asymetric and symetric encryption, for encryption the protocols is asymetric ECIES + Chacha20 or RSA + Chacha20, for signing the protocols is ECDSA or RSA.

Cryptcrro also provide symmetric encryption protocols as:

-AES-256_CTR

-ChaCha20

-Sha256_CTR

Cryptcrro provide high level recipe through the crro module.

For example, symetric encryption can be done like that:

>>> from cryptcrro.symetric import crro
>>> plaintext = "Chancellor on brink of second bailout for banks"
>>> key = scrro.generate_key()
>>> ciphertext = scrro.encrypt(key, message)
>>> decrypted_ciphertext = scrro.decrypt(key, ciphertext)

Or, asymetric encryption:

>>> from cryptcrro.asymetric import crro
>>> private_key = crro.generate_private_key()
>>> public_key = crro.generate_public_key(private_key)
>>> plaintext = "Chancellor on brink of second bailout for banks"
>>> ciphertext = crro.encrypt(public_key, message)
>>> decrypted_ciphertext = crro.decrypt(private_key, encrypted_message)

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

cryptcrro-0.1.8.tar.gz (24.1 kB view details)

Uploaded Source

Built Distributions

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

cryptcrro-0.1.8-cp313-cp313-manylinux_2_34_x86_64.whl (371.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

cryptcrro-0.1.8-cp311-cp311-win_amd64.whl (788.6 kB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file cryptcrro-0.1.8.tar.gz.

File metadata

  • Download URL: cryptcrro-0.1.8.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for cryptcrro-0.1.8.tar.gz
Algorithm Hash digest
SHA256 101b0416ac57ae0fcbbb675502da86b7c9a0addc2fc043e433c0228cb189637e
MD5 3efb58af97f7755caedc612f3fcff232
BLAKE2b-256 cf668ba3524157f67b79f03412ccef63ac780466077a48c1dc222e546382d90e

See more details on using hashes here.

File details

Details for the file cryptcrro-0.1.8-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for cryptcrro-0.1.8-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8cb7390efd1d1911def429958d37e32fc2e1c0f360054991f904be1db379d1bb
MD5 f2de3f90f382f2f22e4bc60a7ccf4f1d
BLAKE2b-256 4cdde1dca713da7d531de8601467519400b0656ed04dc7133c9758a695d43217

See more details on using hashes here.

File details

Details for the file cryptcrro-0.1.8-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: cryptcrro-0.1.8-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 788.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for cryptcrro-0.1.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e4c201ee55def237cb606da664696fa456952969f223319cfd444785020ec53e
MD5 117d848e8d7c645d47c2d31a0b34d2eb
BLAKE2b-256 0d5e9bb8df1b019ab9e3ca41d01e4bd7c66aa043a2d3d9656b425aab432642d8

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