Metadata-Version: 1.0
Name: trustpilot-authenticated-encryption
Version: 1.0.2
Summary: Library for authenticated encryption used with Trustpilot
Home-page: https://github.com/trustpilot/python-authenticated-encryption
Author: Trustpilot
Author-email: UNKNOWN
License: MIT
Description: Trustpilot authenticated encryption for python
        ==============================================
        
        |Build Status| |Latest Version| |Python Support|
        
        Library for authenticated encryption used with Trustpilot.
        
        Install
        -------
        
        ::
        
            pip install trustpilot_authenticated_encryption
        
        Usage
        -----
        
        To encrypt a message
        
        ::
        
            from trustpilot_authenticated_encryption import encryption
        
            message = 'this is the secret message'
            encrypt_key = "g9hH6MkVnlKlGa5IG+5R/uKgyrCJxOsh5fXlwK0mjH0="
            hash_key = "oGmd/bHHkd+N6P6lZQxyfikjU7c5P/mhWO/noCsERyY="
            encrypted_message = encryption.encrypt(message.encode("utf-8"), encrypt_key, hash_key)
        
        .. |Build Status| image:: http://travis-ci.org/trustpilot/python-authenticated-encryption.svg?branch=master
           :target: https://travis-ci.org/trustpilot/python-authenticated-encryption
        .. |Latest Version| image:: https://img.shields.io/pypi/v/trustpilot_authenticated_encryption.svg
           :target: https://pypi.python.org/pypi/trustpilot_authenticated_encryption
        .. |Python Support| image:: https://img.shields.io/pypi/pyversions/trustpilot_authenticated_encryption.svg
           :target: https://pypi.python.org/pypi/trustpilot_authenticated_encryption
        
Platform: UNKNOWN
