Python Forum
encryption and decryption with python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: encryption and decryption with python (/thread-26849.html)



encryption and decryption with python - ibrahim - May-15-2020

hi;

encryption and decryption with python the best method.
I tried two methods.which of them is more stable and secure
which of these should be used (fernet and onetimepad)


RE: encryption and decryption with python - Larz60+ - May-16-2020

There are many encryption packages available, you can start here: https://pypi.org/search/?q=crypto&o=-zscore
Some of these probably allow choice of encryption type.
Couldn't find a direct comparison between one-time pad and fernet but this: https://www.astesj.com/publications/ASTESJ_020506.pdf
compares one-time pad to KCT, following the references may find you what you want.