{ "info": { "author": "Trustpilot", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# Trustpilot authenticated encryption for python\n\n[![Build Status](http://travis-ci.org/trustpilot/python-authenticated-encryption.svg?branch=master)](https://travis-ci.org/trustpilot/python-authenticated-encryption) [![Latest Version](https://img.shields.io/pypi/v/trustpilot_authenticated_encryption.svg)](https://pypi.python.org/pypi/trustpilot_authenticated_encryption) [![Python Support](https://img.shields.io/pypi/pyversions/trustpilot_authenticated_encryption.svg)](https://pypi.python.org/pypi/trustpilot_authenticated_encryption)\n\nLibrary for authenticated encryption used with Trustpilot.\n\n## Install\n\n```\npip install trustpilot_authenticated_encryption\n```\n\n## Usage\nTo encrypt a message\n\n```\nfrom trustpilot_authenticated_encryption import encryption\n\nmessage = 'this is the secret message'\nencrypt_key = \"g9hH6MkVnlKlGa5IG+5R/uKgyrCJxOsh5fXlwK0mjH0=\"\nhash_key = \"oGmd/bHHkd+N6P6lZQxyfikjU7c5P/mhWO/noCsERyY=\"\nencrypted_message = encryption.encrypt(message.encode(\"utf-8\"), encrypt_key, hash_key)\n```\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/trustpilot/python-authenticated-encryption", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "trustpilot-authenticated-encryption", "package_url": "https://pypi.org/project/trustpilot-authenticated-encryption/", "platform": "", "project_url": "https://pypi.org/project/trustpilot-authenticated-encryption/", "project_urls": { "Homepage": "https://github.com/trustpilot/python-authenticated-encryption" }, "release_url": "https://pypi.org/project/trustpilot-authenticated-encryption/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "Library for authenticated encryption used with Trustpilot", "version": "1.1.0" }, "last_serial": 4233961, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "4be70649b11d6e92b1883f98a1c99bdb", "sha256": "12a02d626818d32e2313e9511b0e583e98837f59202a1d53a30f76bcef35df3d" }, "downloads": -1, "filename": "trustpilot_authenticated_encryption-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4be70649b11d6e92b1883f98a1c99bdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1890, "upload_time": "2017-10-04T07:26:48", "url": "https://files.pythonhosted.org/packages/ea/60/5f8e49da52a0e30d64ce2e1413dc8ef6568dc39378117398981168916bb8/trustpilot_authenticated_encryption-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "d1a13fa2b58f96d449e9da9f7a3f0be2", "sha256": "64681f8b0ef9944f1388a234c87fccf940742786abfbdcbce6653cf4657e9b18" }, "downloads": -1, "filename": "trustpilot_authenticated_encryption-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d1a13fa2b58f96d449e9da9f7a3f0be2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2064, "upload_time": "2017-10-26T06:45:45", "url": "https://files.pythonhosted.org/packages/c1/2d/4372e07e19438b427dfbfa16371b203224b615abf5e6aafc0aabaac9747b/trustpilot_authenticated_encryption-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "4ec5879890dbba46087b12d3f5926201", "sha256": "8bb1883dbb6af6ab7dff70143fff3874cd81ba5589f18981c317f58d121ca763" }, "downloads": -1, "filename": "trustpilot_authenticated_encryption-1.1.0.tar.gz", "has_sig": false, "md5_digest": "4ec5879890dbba46087b12d3f5926201", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2025, "upload_time": "2018-09-03T10:43:34", "url": "https://files.pythonhosted.org/packages/af/42/ac2475e3c40699f00784f2d7398ecfab53c114add036ce15aea66a6b4ac5/trustpilot_authenticated_encryption-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ec5879890dbba46087b12d3f5926201", "sha256": "8bb1883dbb6af6ab7dff70143fff3874cd81ba5589f18981c317f58d121ca763" }, "downloads": -1, "filename": "trustpilot_authenticated_encryption-1.1.0.tar.gz", "has_sig": false, "md5_digest": "4ec5879890dbba46087b12d3f5926201", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2025, "upload_time": "2018-09-03T10:43:34", "url": "https://files.pythonhosted.org/packages/af/42/ac2475e3c40699f00784f2d7398ecfab53c114add036ce15aea66a6b4ac5/trustpilot_authenticated_encryption-1.1.0.tar.gz" } ] }