Python Forum
Testing homemade encryption program in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing homemade encryption program in python
#1
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
Reply
#2
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
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  need help one time pad encryption implementation ! nad556 1 196 Nov-28-2020, 06:11 PM
Last Post: nad556
  encryption and decryption with python ibrahim 1 346 May-16-2020, 03:14 PM
Last Post: Larz60+
  File encryption itzik 5 497 Nov-05-2019, 12:29 PM
Last Post: Gribouillis
  Vernam encryption method for files JohnCTX 1 502 Sep-18-2019, 04:31 PM
Last Post: JohnCTX
  Regarding encryption and decryption naressh1994 1 716 Jan-25-2019, 07:26 AM
Last Post: buran
  AES encryption - does not match between arduino and python 3 crypto guillaume55 0 1,929 Sep-23-2018, 11:14 AM
Last Post: guillaume55
  Python function that uses a word as the encryption key, rather than an integer wak_stephanie 4 1,797 Aug-31-2018, 12:16 PM
Last Post: perfringo
  lab experiment / encryption pythan 0 1,002 Jun-09-2018, 07:19 PM
Last Post: pythan
  Errors in my encryption algorithm SlimeBOOS 1 1,114 Dec-16-2017, 06:23 PM
Last Post: SlimeBOOS
  Attempting to port XTea Encryption from C to Python sonic1015 1 1,682 Jun-06-2017, 07:12 PM
Last Post: sonic1015

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020