Metadata-Version: 2.1
Name: simpleencrypt
Version: 1.0.3
Summary: SimpleEncrypt is a Cross-Language Encryption Library
Home-page: UNKNOWN
Author: Shreyas Nayak
Author-email: <shreyasnayak21@gmail.com>
License: UNKNOWN
Description: 
        # About SimpleEncrypt
        
        [SimpleEncrypt](https://github.com/shreyasnayak/SimpleEncrypt) is a Cross-Language Encryption Library that provides the ability to encrypt and decrypt data in C++ and Python 3
        
        # Installing Dependency library
        
        SimpleEncrypt Python package has a dependency on C++ shared library. Before running the simple encrypt python package, build and install C++ shared library.
        
        ## Build and install C++ shared library
        
        - Install dependencies `sudo apt-get install libssl-dev openssl`
        - Download or clone simple encrypt [C++ shared library](https://github.com/shreyasnayak/SimpleEncrypt/tree/main/SimpleEncrypt_Python/CPP_Library)
        - Compile and install
        
        ```
        mkdir SimpleEncrypt_Python/CPP_Library/Build
        cd SimpleEncrypt_Python/CPP_Library/Build
        cmake ..
        make
        sudo make install
        ```
        
        # Install python package SimpleEncrypt
        
        Installation
        
        ```
        python3 -m pip install simpleencrypt
        ```
        
        ### Usage
        
        ```python
        from simpleencrypt import aes256
        
        # encryption
        iv = b'171A065A7675A09AECEC118DBC008A822A041FC2EBF2B3E4CF7A4C966E5D5897'
        key = b'2B5442AD8739992F'
        plainText = b'Hello World'
        encrypted = aes256.encrypt(plainText,iv,key)
        print(encrypted)
        
        # decryption
        iv = b'171A065A7675A09AECEC118DBC008A822A041FC2EBF2B3E4CF7A4C966E5D5897'
        key = b'2B5442AD8739992F'
        print(aes256.decrypt(encrypted,iv,key))
        ```
        
Keywords: Encryption,Cross-Language Encryption
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Description-Content-Type: text/markdown
