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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

cryptcrro-0.1.7-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.7-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.7-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for cryptcrro-0.1.7-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 55acb688767c22b43d1b0435e273bea7ddb21299968cc6d2371b391fdb18d01b
MD5 466603ed58360b05a80ef0f6dc177a71
BLAKE2b-256 ee81118ff35a1843ac601aa2f8eb25a3408f1defae10700df0dceea1e989b752

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptcrro-0.1.7-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.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4cd0a6c6a881e407add106176cbebeff80eebfaa817a7708534e5b4bdb1fd959
MD5 9e448736c41fa23cc5589a80cd6bbad9
BLAKE2b-256 f039b33595506fbb1ce55dbf2e5f62bf83fc6b8cafe11552f9b89cfcfdf8f5bf

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