Metadata-Version: 1.2
Name: crack
Version: 0.5.5
Summary: Crack tools all here!
Home-page: https://leesoar.com
Author: leesoar
Author-email: secure@tom.com
License: MIT
Description-Content-Type: text/markdown
Description: 
        ## Crack
        
        Crack tools all here!
        
        Currently support custom aes, base58, base64, secrets, seal box and unsigned shift, other will be coming soon.
        
        Thanks for use.
        
        
        ### How to use
        #### Base58
        ```python
        import crack
        
        
        crack.b58encode("leesoar.com")
        # Return: Tt1fb89EdWohEDa
        
        crack.b58decode("Tt1fb89EdWohEDa")
        # Return: leesoar.com
        ```
        
        
        #### Base64
        ```python
        import crack
        
        
        crack.b64encode(b"leesoar.com", b64_map="9240gsB6PftGXnlQTw_pdvz7EekDmuAWCVZ5UF-MSK1IHOchoaxqYyj8Jb3LrNiR")
        # Return: DBvFmjNVmZb5DjY=
        
        crack.b64decode("DBvFmjNVmZb5DjY=", b64_map="9240gsB6PftGXnlQTw_pdvz7EekDmuAWCVZ5UF-MSK1IHOchoaxqYyj8Jb3LrNiR")
        # Return: b'leesoar.com'
        ```
        
        
        #### Decimal to other
        ```python
        import crack
        
        
        # default base is 58
        crack.dec_to_other(9527)
        # Return: [2, 48, 15]
        ```
        
        
        #### Array's partition
        ```python
        import crack
        
        
        [print(x, end=", ") for x in crack.partition("gmapi.cn", size=3)]
        # Print: gma, pi., cn, 
        
        
        [print(x) for x in crack.partition(["g", "m", "a", "p", "i", ".", "c", "n"], size=3)]
        # Print: ['g', 'm', 'a'], ['p', 'i', '.'], ['c', 'n'], 
        ```
        
        ### Unsigned shift
        ```python
        import crack
        
        
        crack.unsigned_right_shift(-2048, 1)
        # Output: 2147482624
        # It likes JavaScript ">>>"
        
        ...
        
        ```
        
        
        ### AES
        * **If you use 'from crack import Aes', it will automatically fix the bug of importing crypto error.**
        ```python
        from crack import Aes
        
        
        aes = Aes(key="xxxxxxxxx", iv="xxxxxxxxx")
        aes.encrypt_hex(b"xxxxxxxxxxx")
        aes.encrypt_byte(b"xxxxxxxxxxx")
        ...
        
        ```
        
        
        
        ### Secrets
        ```python
        import crack
        
        
        crack.token_hex(16)
        # Output: 984a0877240ec62afaf6bbab175ab985  [Random]
        
        ...
        
        ```
Keywords: crack,base64,exploit,rsa,aes,md5,oct
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.3.0
