Last updated:
0 purchases
pycryptokms 0.1.1
Py-Crypto
Simple Cryptographic Library With Key Management Server Integration
Quick Start
The easiest way to install PyCrypto is with pip:
# in bash
pip install pycryptokms
Python example:
# in python
from py_crypto.kms import StepKMSProvider
from py_crypto.crypto import AESCBCCipher
step_kms = StepKMSProvider(kms_base_url='https://localhost', kms_username='kms', kms_password='kms')
aes = AESCBCCipher(kms_provider=step_kms)
cipher_text = aes.encrypt(clear_text='254727128043', key_identifier='dummy-key')
print(f'Cipher Text: {cipher_text} -> Expected Cipher Text: \'Tywy7Y272MmuDlrewpOV9A==\'')
History
0.1.1 (2023-04-30)
First release on PyCrypto.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.