Metadata-Version: 2.1
Name: pyciphers
Version: 1.0.0
Summary: The Hill cipher Encryption algorithm is one of the symmetric key algorithms that have several advantages in data encryption.
Home-page: https://github.com/Yashmodi59/Cipher_Python_Package
Author: Yash Modi
Author-email: yashmodi2059@gmail.com
License: MIT
Description: # Cipher-Python-Package
        
        ## Summary of the Python Package
        This package encrypts your text using Hill Cipher Technique.
        Hill ciphers are an application of linear algebra to cryptology (the science of
        making and breaking codes and ciphers).
        ## Algorithm:
        Let the order of the encryption key be N (as it is a square matrix).
        Your text is divided into batches of length N and converted to numerical vectors
        by a simple mapping starting with A=0 and so on.
         
        The key is then multiplied with the newly created batch vector to obtain the
        encoded vector. After each multiplication modular 36 calculations are performed
        on the vectors so as to bring the numbers between 0 and 36 and then mapped with
        their corresponding alphanumerics.
         
        While decrypting, the decrypting key is found which is the inverse of the
        encrypting key modular 36. The same process is repeated for decrypting to get
        the original message back.
        
        
          
        ### Implementation:
        `from pycipher import HillCipher` <br />
        `obj = HillCipher("beaf")` <br />
        `print(hc.encrypt("Love Python"))` <br />
        `print(hc.decrypt("PITTOO"))` <br />
        
        ### References:
        https://apprendre-en-ligne.net/crypto/hill/Hillciph.pdf
        
        
          
        
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
