==============
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.0.4 (2023-04-30)
------------------
* Bumped down requests library version to 2.25.0.
0.0.3 (2023-04-30)
------------------
* StepKMSProvider implementation
* Initial work in file and ranger providers
0.0.2 (2023-04-30)
------------------
* First release on PyCrypto.
Raw data
{
"_id": null,
"home_page": "https://github.com/kapkiai/pycrypto",
"name": "pycryptokms",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "cryptography,kms,wrapper",
"author": "Mathew Kiprop",
"author_email": "mathewkiprop17@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/01/7b/f970b3f9077872f3366b8f6403af6cff5336b7180c663cbadabfc9a51138/pycryptokms-0.1.0.tar.gz",
"platform": null,
"description": "==============\nPy-Crypto\n==============\n\nSimple Cryptographic Library With Key Management Server Integration\n\nQuick Start\n-----------\n\nThe easiest way to install PyCrypto is with pip::\n\n # in bash\n pip install pycryptokms\n\n\nPython example::\n\n # in python\n from py_crypto.kms import StepKMSProvider\n from py_crypto.crypto import AESCBCCipher\n\n step_kms = StepKMSProvider(kms_base_url='https://localhost', kms_username='kms', kms_password='kms')\n\n aes = AESCBCCipher(kms_provider=step_kms)\n\n cipher_text = aes.encrypt(clear_text='254727128043', key_identifier='dummy-key')\n\n print(f'Cipher Text: {cipher_text} -> Expected Cipher Text: \\'Tywy7Y272MmuDlrewpOV9A==\\'')\n\n\n\n=======\nHistory\n=======\n\n0.0.4 (2023-04-30)\n------------------\n\n* Bumped down requests library version to 2.25.0.\n\n0.0.3 (2023-04-30)\n------------------\n\n* StepKMSProvider implementation\n* Initial work in file and ranger providers\n\n0.0.2 (2023-04-30)\n------------------\n\n* First release on PyCrypto.\n\n\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "PyCrypto: A convenient Python wrapper for the KMS and various cryptographic algorithms",
"version": "0.1.0",
"project_urls": {
"Download": "https://github.com/kapkiai/pycrypto/archive/0.1.0.tar.gz",
"Homepage": "https://github.com/kapkiai/pycrypto"
},
"split_keywords": [
"cryptography",
"kms",
"wrapper"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a068044e9d4d3516dfef301c93e7391eb32e9b73197d158f7f5886d2ed529486",
"md5": "1fc0ea2a9463520897e2e6703a034ae4",
"sha256": "1c4fd5272f6170289901077be1a4aaa19a6736ec590b2d21823c47ca39463253"
},
"downloads": -1,
"filename": "pycryptokms-0.1.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "1fc0ea2a9463520897e2e6703a034ae4",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 5586,
"upload_time": "2023-04-30T19:35:35",
"upload_time_iso_8601": "2023-04-30T19:35:35.784231Z",
"url": "https://files.pythonhosted.org/packages/a0/68/044e9d4d3516dfef301c93e7391eb32e9b73197d158f7f5886d2ed529486/pycryptokms-0.1.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "017bf970b3f9077872f3366b8f6403af6cff5336b7180c663cbadabfc9a51138",
"md5": "3ca469f6ce88938a135ad0682f50aeef",
"sha256": "95f5bcc72607777d38ba44efaa6c11f0fa35b39a9b4f8a8c3c59787cf327222a"
},
"downloads": -1,
"filename": "pycryptokms-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "3ca469f6ce88938a135ad0682f50aeef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14573,
"upload_time": "2023-04-30T19:35:41",
"upload_time_iso_8601": "2023-04-30T19:35:41.903827Z",
"url": "https://files.pythonhosted.org/packages/01/7b/f970b3f9077872f3366b8f6403af6cff5336b7180c663cbadabfc9a51138/pycryptokms-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-30 19:35:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "kapkiai",
"github_project": "pycrypto",
"lcname": "pycryptokms"
}