HI guys, I want to create and encryption system that converts a character to encrypted data, I'm thinking about using the ord() and chr() functions in python then slice the sting into characters implement the encryption on each character and bring them back together what do you think, Is there anybody who has done such, a project before what are the other things I need to do.
e-papa
13
Posting Pro in Training
Recommended Answers
Jump to PostThis style of encryption is very weak. If you have patience for interesting, but very long thread we had starting from this vegaseat's snippet, I think you can benefit from this:
Text Encryption/Decryption with XOR (Python)See especial my devil's advocate posts on braking the encryption:icon_twisted:
Jump to Postif you're just starting, you could also learn by doing the matrix encryption
Jump to PostHere is a simple oldie:
''' example of simple encoding/decoding using rot13 where the alphabet is shifted by 13 positions to 'nopqrstuvwxyzabcdefghijklm' so 'a' becomes 'n' and so on (non-alpha characters are not affected) note: Python2x actually had this built in ''' # here is a way …
All 10 Replies
TrustyTony
888
pyMod
Team Colleague
Featured Poster
e-papa
13
Posting Pro in Training
ultimatebuster
14
Posting Whiz in Training
e-papa
13
Posting Pro in Training
TrustyTony
888
pyMod
Team Colleague
Featured Poster
e-papa
13
Posting Pro in Training
Lardmeister
461
Posting Virtuoso
e-papa
commented:
love this.
+1
e-papa
13
Posting Pro in Training
vidur
13
Newbie Poster
TrustyTony
commented:
Dont bump old threads!
+13
vidur
13
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.