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.5.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

cryptcrro-0.1.5-cp311-cp311-win_amd64.whl (790.8 kB view details)

Uploaded CPython 3.11Windows x86-64

File details

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

File metadata

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

File hashes

Hashes for cryptcrro-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ebd3b85cb2bbb19a1f61cde2ea159d8d8f55039f32c703b37b6b271f3de5dac4
MD5 22c37d8bac00c2aa9febc15aeabda92a
BLAKE2b-256 0861e277ed0c1a7fe9793a4671aa5f8e5dadcb6ff24d8c5efae93e8849bb4b61

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cryptcrro-0.1.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 abd920af6c3c859aaa164cc20845f9baeb83d5a12bf30744e32578cb4b71b45a
MD5 8bb15a33aebc77895041dc283b740161
BLAKE2b-256 dcf49d95713a884d06aaf3de92f158aaecdb7bc3bfc15a57211ebef444d399e7

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