{ "info": { "author": "Fabricio Roberto reinert", "author_email": "fabricio.reinert@live.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6" ], "description": "# AES\nAES Cryptography in Python\n\n## Installing\n1. Check if Python 3+ is installed\n2. ```pip install PySimpleAES``` \n\n\n## How it works\n\n### Available Functions\nCheck the table below for available methods in this module\n\nMethod | Objective | Return\n---------------|-------------------------------|---------------\nfortify() | Savorless code, never more! | str: iv, str: salt\nhashing(password, salt) | Hash the message | str: key\nencrypt(key, iv, msg) | Encrypt a message | str: Encrypted message\ndecrypt(key, iv, password) | Decrypt the message | str: Decrypted message\n\n\n### Example code\nYou can find a sample of usage on the **examples.py**. But to save your time, let's see how it works:\n```python\nclass MyAES(PySimpleAES):\n\n def __init__(self):\n self.iv, self.salt = self.fortify()\n\n def Example_enc(self):\n message = input(\"Message (ASCCI) : \")\n password = input(\"Password (ASCII) : \")\n _enc = self.encrypt(self.hashing(password, self.salt), self.iv, message)\n return _enc\n\n def Example_dec(self, enc_data):\n password = input(\"Password (ASCII) : \") \n return self.decrypt(self.hashing(password, self.salt), self.iv, enc_data)\n\nSampleAES = MyAES()\n# Encrypting\nEnc = SampleAES.Example_enc()\nif Enc:\n print(\"Enc: \", Enc.hex())\nelse:\n sys.exit()\n\n# Decrypting\nDec = SampleAES.Example_dec(Enc)\nif Dec:\n print(Dec.decode('ascii'))\n```\n\n## Tests\n* Tested on Python 3.6 32 bits\n* Tested on Windows 10 x64\n\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/FRReinert/AES", "keywords": "Python,AES,cryptography", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "PySimpleAES", "package_url": "https://pypi.org/project/PySimpleAES/", "platform": "", "project_url": "https://pypi.org/project/PySimpleAES/", "project_urls": { "Homepage": "https://github.com/FRReinert/AES" }, "release_url": "https://pypi.org/project/PySimpleAES/0.0.2/", "requires_dist": [ "cryptography" ], "requires_python": "", "summary": "Python AES encryptation", "version": "0.0.2" }, "last_serial": 2710746, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "77a5cac8241924a01456e47cf6ea9bb1", "sha256": "a1c7babdba42f3f00acdfd9fa9f3f90290be839f021e1b301959f6bef3fa01ec" }, "downloads": -1, "filename": "PySimpleAES-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "77a5cac8241924a01456e47cf6ea9bb1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3181, "upload_time": "2017-03-16T16:20:53", "url": "https://files.pythonhosted.org/packages/57/03/8ead05230ab300038172e4cffd289dd0ff1f9ab536456385866ca4a3c3ec/PySimpleAES-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "b9e4db3e514474ebeb2c08ae99071c40", "sha256": "45fdb318e97fa54352a8070d6f32462ab9c78892aadb327ef5a984f9c8df227a" }, "downloads": -1, "filename": "PySimpleAES-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b9e4db3e514474ebeb2c08ae99071c40", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4219, "upload_time": "2017-03-16T17:29:18", "url": "https://files.pythonhosted.org/packages/e4/3c/d357865a2dd6e2bc82dc0397a9d8ac57b909b2ecea50aa5f5d1a4ea97942/PySimpleAES-0.0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9e4db3e514474ebeb2c08ae99071c40", "sha256": "45fdb318e97fa54352a8070d6f32462ab9c78892aadb327ef5a984f9c8df227a" }, "downloads": -1, "filename": "PySimpleAES-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b9e4db3e514474ebeb2c08ae99071c40", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4219, "upload_time": "2017-03-16T17:29:18", "url": "https://files.pythonhosted.org/packages/e4/3c/d357865a2dd6e2bc82dc0397a9d8ac57b909b2ecea50aa5f5d1a4ea97942/PySimpleAES-0.0.2-py3-none-any.whl" } ] }