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
Question Help with function - encryption - messages - NameError: name 'message' is not defined MrKnd94 4 2,776 Nov-11-2022, 09:03 PM
Last Post: deanhystad
  need help one time pad encryption implementation ! nad556 1 1,913 Nov-28-2020, 06:11 PM
Last Post: nad556
  encryption and decryption with python ibrahim 1 1,769 May-16-2020, 03:14 PM
Last Post: Larz60+
  File encryption itzik 5 2,796 Nov-05-2019, 12:29 PM
Last Post: Gribouillis
  Vernam encryption method for files JohnCTX 1 2,385 Sep-18-2019, 04:31 PM
Last Post: JohnCTX
  Regarding encryption and decryption naressh1994 1 2,389 Jan-25-2019, 07:26 AM
Last Post: buran
  AES encryption - does not match between arduino and python 3 crypto guillaume55 0 3,992 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 4,768 Aug-31-2018, 12:16 PM
Last Post: perfringo
  lab experiment / encryption pythan 0 2,436 Jun-09-2018, 07:19 PM
Last Post: pythan
  Errors in my encryption algorithm SlimeBOOS 1 2,552 Dec-16-2017, 06:23 PM
Last Post: SlimeBOOS

Forum Jump:

User Panel Messages

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