Skip to main content

A self-contained cryptographic library for Python

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.

All Elliptic curve operation is done with the Secp256k1 curve.

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.3.tar.gz (23.8 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.3-cp311-cp311-win_amd64.whl (187.8 kB view details)

Uploaded CPython 3.11Windows x86-64

cryptcrro-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl (325.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

File details

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

File metadata

  • Download URL: cryptcrro-0.1.3.tar.gz
  • Upload date:
  • Size: 23.8 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.3.tar.gz
Algorithm Hash digest
SHA256 2c5acea25adc1743b2098aca5a277acd77224d9204f58ec06c337c3e15c80884
MD5 2f28417196885f8d9987e125d27ce684
BLAKE2b-256 977055d0b4173179a9771cf403d482270207e0c7c927aa95fe191c746a3069e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cryptcrro-0.1.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 187.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.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 11f5a1b3ad507868b82890bf5583b6b3bdf4a375cd9c122137ede92c79723241
MD5 0c1e9bf14065203ffc73251d18c8e863
BLAKE2b-256 a6f906305af94591abf999a05c8b4a200fbc5bfb7bcc6cc991085ead35938c63

See more details on using hashes here.

File details

Details for the file cryptcrro-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for cryptcrro-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d0e0c3777b0170b48180f18e79c5fe6a7642b8d2591b8b89310dece81fd61f67
MD5 357668d212064f44e33577ac02137daf
BLAKE2b-256 ca933c74da1c196f020b747c676cd276def70db9d05edded278ce8f78feecac8

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