Python Forum

Full Version: Testing homemade encryption program in python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I´ve made three homemade encryption-programs using python. I´m wondering if anyone could look at these programs and briefly compare the security of them or give tips on how to compare them myself. I gladly accept several individuals perspectives Thanks in advance!
Block Cipher: http://pastebin.com/SzR7d43T
RSA(variant): http://pastebin.com/ZXSpzucJ
Caesar Cipher: http://pastebin.com/eGx7BbPc
The Block Cipher and the Caesar Cipher can be easily reverse engineered and with nowadays machines, cracked in a matter of seconds. The RSA weakness is in the random number generator which is not truly random. Also, the keys are stored as sha1 sum which is insecure - proven. If I am not wrong for the last one. I am far from an expert