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.6.tar.gz (1.6 MB 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.6-cp313-cp313-manylinux_2_34_x86_64.whl (337.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

cryptcrro-0.1.6-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.6.tar.gz.

File metadata

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

File hashes

Hashes for cryptcrro-0.1.6.tar.gz
Algorithm Hash digest
SHA256 1cd08f9bd5fe1e9074ec3ff7f3f1f9fa0e4e05d649c7e623a895fde03d59882f
MD5 a0e4ee98b4065fc3d977ab61c83ccdde
BLAKE2b-256 7641279eda9009c7bc0bfaf3b9a8fb3f95c0527003da5b716ff0bd6bb0af79dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptcrro-0.1.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1f874beb047133adbc8c13f255a6420f471c96e59a591a675822071d89877fc9
MD5 8a3ae1ff3782af18300c543e5ace3f58
BLAKE2b-256 59dc1a8c3aa8efc87e86beab23a6bea455f1a9a8a8dda02084e578218891b8e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptcrro-0.1.6-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.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b082d906c3b57ff7c8aa1ab8c32a0f0548f60c376d1ebc04dbc5bf9403698446
MD5 a00016b218714cc9147cc16ff73bf824
BLAKE2b-256 7c9c9b45a44afdf71d986610c3037de8597441e304de7ca4d5f458bb22a4a7f4

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