Skip to main content

cryptopie is library crypto for encrypt data pii

Project description

Python-encrypt

This project focuses on encrypting Personally Identifiable Information (PII) using the Python programming language.

Features

  • Encryption and decryption of PII data
  • Easy integration with Python applications

Installation

pip install cryptopie

The below example will print the contents:

from crypto import Crypto
from crypto import AesAlg

crypto = Crypto(aes_key=aes_key, hmac_key=hmac_key)

encrypted_data = crypto.encrypt('Hello, World!', AesAlg.CBC)
print(f'Encrypted Data: {encrypted_data}')

decrypted_data = crypto.decrypt("87eb6382b98f41d7897fcf919e887e08c106c341402fe3ac598de9ab4c35a43959eb4ead70bf355cc2bc2a54d1b506bc", AesAlg.CBC)
print(f'Decrypted Data: {decrypted_data}')

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

cryptopie-1.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

cryptopie-1.4-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file cryptopie-1.4.tar.gz.

File metadata

  • Download URL: cryptopie-1.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cryptopie-1.4.tar.gz
Algorithm Hash digest
SHA256 faa84a173e57b5e1add7aaa951c51abc5bb36605b31c00b41a84768fd711ca47
MD5 d937b4ad7084bdb1869d4cc5c1718716
BLAKE2b-256 acd8d683a214ae38c91b79c4f9b8dfdc29af39f6ef870f125c79edd6ebfed024

See more details on using hashes here.

File details

Details for the file cryptopie-1.4-py3-none-any.whl.

File metadata

  • Download URL: cryptopie-1.4-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for cryptopie-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c5099643d4b9a7cc5e8502528ed5321378e9e86357f885841884d4c7ae6d708a
MD5 535b6bcaab89b9cf68ef54af4a7ba1ca
BLAKE2b-256 0ddcedeb7bca905b736f91cef34edfed2451650122682a1dc915ea77b5f9a395

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