A light-weight encryption & decryption library, Built with power and simplicity!
Decrypto is a light-weight python package to provide state of the art encryption and decryption techniques and aims to be simple and easy to use. Being open-source, Decrypto wraps a huge number of old, modern, secure and encoding based encryption-decryption methods while still being fast
Features
- It's light-weight and fast
- Simple to use and learn
- Provides a multidegree of techniques from various cryptographic field
Installation
Use the package manager pip to install decrypto.
Usage
You can either use a classical cipher technique
from decrypto import MorseCodeCipher cipher = MorseCodeCipher() data = 'Hello World' # encrypt using morse code cipher encrypted = cipher.encrypt(data) print(encrypted) # decrypt using morse code cipher decrypted = cipher.decrypt(encrypted) print(decrypted)
or a more advanced and modern cipher technique
from decrypto import RSACipher cipher = RSACipher() data = 'hello world' keys = cipher.generate_keys(23, 31) encrypted = cipher.encrypt(message, keys['public_key']) decrypted = cipher.decrypt(encrypted, keys['private_key']) print(keys) print(encrypted) print(decrypted)
To participate and contribute checkout our issues section. You can also discuss new ideas in our telegram group here @pyguru
Our other repositiores partcipating in Hacktoberfest 2023