Metadata-Version: 1.0
Name: PyTEA
Version: 0.1.2
Summary: Tiny Encryption Algorithm (TEA) in Python.
Home-page: https://github.com/codeif/PyTEA
Author: codeif
Author-email: me@codeif.com
License: MIT
Description: PyTEA
        =====
        
        Wiki
        ----
        
        `Tiny Encryption Algorithm (TEA) <https://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm>`_
        
        Installation
        ---------------
        
        .. code-block:: sh
        
            pip install PyTEA
        
        Usage
        ------
        
        .. code-block:: python
        
            from pytea import TEA
            key = os.urandom(16)
            print('key is', key)
            content = 'Hello, 你好'
            tea = TEA(key)
            e = tea.encrypt(content.encode())
            print('encrypt hex:', e.hex())
            d = tea.decrypt(e)
            print('decrypt:', d.decode())
        
Platform: UNKNOWN
