{ "info": { "author": "Dimitris Karakostas", "author_email": "dimit.karakostas@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Security", "Topic :: Security :: Cryptography" ], "description": "ctx\n==============\n\nThe CTX defense library.\n\nInstallation\n============\n\n- Install the latest stable version using ``pip``:\n\n```sh\npip install ctx-defense\n```\n\nBasic Usage\n===========\n\n- Import the CTX class from ctx and initialize the ctx object:\n```python\nfrom ctx_defense import CTX\n\nctx_object = CTX()\n```\n\n- Protect a secret from an origin with a specific alphabet:\n```python\nprotected_secret = ctx_object.protect(secret, origin, alphabet)\n```\n\n- Retrieve the permutations for all origins:\n```python\npermutations = ctx_object.get_permutations()\n```\n\n- For more information on the CTX library and the classes it implements visit the defense's [website](https://github.com/dimkarakostas/ctx).\n\nExample\n=======\n\n```python\nfrom ctx_defense import CTX\n\nsecret = 'A secret string'\norigin = 'user1'\nalphabet = 'ASCII'\n\nctx_object = CTX()\nprotected_secret = ctx_object.protect(secret, origin, alphabet)\npermutations = ctx_object.get_permutations()\n```\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/dimkarakostas/ctx", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dimkarakostas/ctx", "keywords": "ctx defense compression security BREACH", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ctx-defense", "package_url": "https://pypi.org/project/ctx-defense/", "platform": "", "project_url": "https://pypi.org/project/ctx-defense/", "project_urls": { "Download": "https://github.com/dimkarakostas/ctx", "Homepage": "https://github.com/dimkarakostas/ctx" }, "release_url": "https://pypi.org/project/ctx-defense/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "The CTX defense library.", "version": "1.0.0" }, "last_serial": 2445648, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "677d382df544b5c1c98d270c5335ddb9", "sha256": "3f3f28d4ddee75fa8553a25104cf0af35927f2328ab9bce063131eb33e5921b5" }, "downloads": -1, "filename": "ctx_defense-1.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "677d382df544b5c1c98d270c5335ddb9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6111, "upload_time": "2016-11-06T17:06:47", "url": "https://files.pythonhosted.org/packages/98/9e/72eef70a75b6490cb126d9526bcd1c45d500b58716a6e730e20f250724f6/ctx_defense-1.0.0-py2.py3-none-any.whl" } ], "1.0.0.dev20161104": [ { "comment_text": "", "digests": { "md5": "45c03db7158d5c6d5d5e5ec95f9ed25e", "sha256": "f6d2d40a508817f8b177255ff802859fb67da1ae5835a14c5fde4f55b2ba4c15" }, "downloads": -1, "filename": "ctx_defense-1.0.0.dev20161104-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "45c03db7158d5c6d5d5e5ec95f9ed25e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6313, "upload_time": "2016-11-06T14:24:18", "url": "https://files.pythonhosted.org/packages/0e/57/76cdf5e250cdb30c6e4154069a6972ba4667f3d96ebc7fa1cb0614691d74/ctx_defense-1.0.0.dev20161104-py2.py3-none-any.whl" } ], "1.0.0.dev20161106": [ { "comment_text": "", "digests": { "md5": "c32c157a9a79cfabd15374e2438d69b8", "sha256": "fad79ac4970b6fb51693714f2601ca6ce7209a6abb91b7f26301689482027f04" }, "downloads": -1, "filename": "ctx_defense-1.0.0.dev20161106-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "c32c157a9a79cfabd15374e2438d69b8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6312, "upload_time": "2016-11-06T14:20:24", "url": "https://files.pythonhosted.org/packages/44/21/0d5b45680bbbf3a1e4b1a6306382416cc5de1bd7cde825646d8389285574/ctx_defense-1.0.0.dev20161106-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "677d382df544b5c1c98d270c5335ddb9", "sha256": "3f3f28d4ddee75fa8553a25104cf0af35927f2328ab9bce063131eb33e5921b5" }, "downloads": -1, "filename": "ctx_defense-1.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "677d382df544b5c1c98d270c5335ddb9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6111, "upload_time": "2016-11-06T17:06:47", "url": "https://files.pythonhosted.org/packages/98/9e/72eef70a75b6490cb126d9526bcd1c45d500b58716a6e730e20f250724f6/ctx_defense-1.0.0-py2.py3-none-any.whl" } ] }