PyCrypto: A convenient Python wrapper for the KMS and various cryptographic algorithms
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycryptokms-0.1.1.tar.gz
(14.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycryptokms-0.1.1.tar.gz.
File metadata
- Download URL: pycryptokms-0.1.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af30e6e07188600bda16297c49012e92a4750d4a6d47e6bcdab30f8e0eadbff8
|
|
| MD5 |
feacf6250398cb8913ffd76c700b32d3
|
|
| BLAKE2b-256 |
7c827ebe1563c064c95d307bd666bb6a1eb9bd75398377107b6e3df0dd385d5a
|
File details
Details for the file pycryptokms-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: pycryptokms-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9186bc918e4a6ae5394559a06969f00a0456a9f5c815990303e99997b841ecab
|
|
| MD5 |
97082d2004d2e237031f8512b9c8fd7a
|
|
| BLAKE2b-256 |
e9217ecbb0969c4189cf9ee4513d2d4f451b188c7e886187028059ab8b55cf59
|