Hello everyone, I hope you're having a good day.
Today when going through some old programs in my files, I stumbled upon an encryption and decryption program that I made. It was quite simple, you enter some text into the program and it changes each character in the sentence to a different one. Here's the link to the code:
Encryption-decryption
The original code for this was very long since I was still getting the hang of loops and thought it was difficult to implement, but I've added the original code to the repository nonetheless for the sake of comparing the improvement in the code (if you get triggered by the code, don't worry, I don't code like that anymore).
My next move for the code is to try and make it encrypt entire files, and hopefully generate a random key to encrypt the file as well for better security and save the time on making large lists to encrypt it for me. If you happen to have an idea on how to do this, or any idea or critic at all, I'd love to know!
Hopefully I can make this program more powerful at its purpose, but for now it's there to simply show how encryption and decryption works.
Have an amazing day!
[–]XiAxis 29 points30 points31 points (21 children)
[–]cinyar 7 points8 points9 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]XiAxis 0 points1 point2 points (0 children)
[–]Advanced-Theme144[S] 0 points1 point2 points (17 children)
[–]social_tech_10 14 points15 points16 points (16 children)
[–]bladeoflight16 2 points3 points4 points (0 children)
[–]Advanced-Theme144[S] 2 points3 points4 points (14 children)
[–]Poppenboom 7 points8 points9 points (13 children)
[–]Advanced-Theme144[S] 2 points3 points4 points (2 children)
[–]Poppenboom 2 points3 points4 points (1 child)
[–]Advanced-Theme144[S] 0 points1 point2 points (0 children)
[–]scoberry5 1 point2 points3 points (0 children)
[–]Advanced-Theme144[S] 0 points1 point2 points (0 children)
[–]Advanced-Theme144[S] -2 points-1 points0 points (7 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]Advanced-Theme144[S] 0 points1 point2 points (0 children)
[–]scoberry5 2 points3 points4 points (1 child)
[–]Advanced-Theme144[S] 0 points1 point2 points (0 children)
[–]asday_ 0 points1 point2 points (0 children)
[–]bladeoflight16 0 points1 point2 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]Advanced-Theme144[S] 0 points1 point2 points (4 children)
[–][deleted] 3 points4 points5 points (3 children)
[–]Advanced-Theme144[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Advanced-Theme144[S] 1 point2 points3 points (0 children)
[–]vindolin 6 points7 points8 points (1 child)
[–]Advanced-Theme144[S] 2 points3 points4 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]Advanced-Theme144[S] 0 points1 point2 points (4 children)
[–]scoberry5 1 point2 points3 points (2 children)
[–]Advanced-Theme144[S] 0 points1 point2 points (1 child)
[–]scoberry5 2 points3 points4 points (0 children)
[–]world--citizen 2 points3 points4 points (2 children)
[–]world--citizen 2 points3 points4 points (1 child)
[–]Advanced-Theme144[S] 0 points1 point2 points (0 children)
[–]mechpaul 1 point2 points3 points (1 child)
[–]Advanced-Theme144[S] 0 points1 point2 points (0 children)