Skip to content

dyaksa/cryptopie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 cryptopie import Cryptopie
from cryptopie 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}')

About

cryptographic library for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages