Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python library for encryption

Project description


Riddle is a Python library for encryption.


pip install riddle


from riddle import Riddle
riddle = Riddle(key=1245)
encrypted = riddle.encrypt(obj=['Hello World!', 123])
print('Encrypted:\n\n', encrypted, '\n\n')
decrypted = riddle.decrypt(encrypted)
print('Decrypted:\n\n', decrypted)





['Hello World!', 123]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for riddle, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size riddle-0.0.4-py3-none-any.whl (6.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size riddle-0.0.4.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page