Caesar Cipher Program in Python | Encryption and Decryption With Caesar Cipher
Vložit
- čas přidán 13. 12. 2022
- 💻 Get the Source Code and support the channel ❤️: www.buymeacoffee.com/fabiomus...
⬇️ LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW) 😉💪 ⬇️
💻 My Source Codes: www.buymeacoffee.com/fabiomus...
☕ Buy me a coffee: www.buymeacoffee.com/fabiomus...
😍 One-off donation: www.paypal.me/FabioMusanni/
SKILLSHARE
(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)
🔗 skillshare.eqcm.net/5gxzD2 (Affiliate)
DATACAMP
(Python, ChatGPT, SQL, Power BI, and a lot more)
🔗 datacamp.pxf.io/vN1bDj (Affiliate)
COURSERA PYTHON
(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):
🔗 imp.i384100.net/k0Nk60 (Affiliate)
COURSERA WEB DEVELOPMENT
(Full Stack, Front-End, Back-End, Web Design and a lot more):
🔗 imp.i384100.net/EKWxBW (Affiliate)
Make a Python program to encrypt and decrypt text using the Caesar Cipher.
🎥🔥 Caesar Cipher GUI APP: • Create a Python Caesar...
🎥🔥 RECOMMENDED VIDEOS TO WATCH 🎥🔥
➡ Count frequency of letters in text (used to break ciphers): • Count Occurrences of L...
➡ How to validate user inputs: • How to Validate User I...
➡ Python Playlist: • 🐍 Learn Python With Fa...
If the video was helpful, let me know in the comments down below and also like the video so that other people can see it. Needles to say I really appreciate your support 💪❤️
📨 SUBSCRIBE so that you don't miss any new video:
czcams.com/users/FabioMusann...
🤗 BIO PAGE (contacts, etc): solo.to/fabiomusanni
Create Your Bio Page (10% OFF Upgraded Plans 😉): solo.to/inv/NDE4NzE2
🔗 RELATED CONTENT (videos, playlists, etc) 🔗
Python Playlist: • 🐍 Learn Python With Fa...
🤩 AFFILIATE LINKS 🤩
Create Your Bio Page (10% OFF Upgraded Plans): solo.to/inv/NDE4NzE2
🧑🏻💻 ABOUT ME 🧑🏻💻
I'm Fabio, I started programming with Python a lot of years ago and I fell in love with this world.
I started this CZcams channel to help you during your own journey and I hope that my help can make you an amazing programmer who loves this world as I do.
Welcome on board!! 🚀
#pythonWithFabioMusanni #python #pythontutorial #pythonprojects #pythonprogramming #pythonforbeginners #coding #programming - Věda a technologie
💻 *Source Code:* www.buymeacoffee.com/fabiomusanni/e/182935
⬇️ *LEARN ON THE BEST LEARNING PLATFORMS (LINKS BELOW)* 😉💪 ⬇️
☕ *Buy me a coffee:* www.buymeacoffee.com/fabiomusanni
❤️ *Support me monthly:* www.patreon.com/FabioMusanni
😍 *One-off donation:* www.paypal.me/FabioMusanni/
*SKILLSHARE*
_(Python, Web Dev, UI/UX Design, Music, Art, Animation and a lot more)_
🔗 skillshare.eqcm.net/5gxzD2 (Affiliate)
*DATACAMP*
_(Python, ChatGPT, SQL, Power BI, and a lot more)_
🔗 datacamp.pxf.io/vN1bDj (Affiliate)
*COURSERA PYTHON*
_(For beginners, Data Science, Data Analysis, AI, Cybersecurity and a lot more):_
🔗 imp.i384100.net/k0Nk60 (Affiliate)
*COURSERA WEB DEVELOPMENT*
_(Full Stack, Front-End, Back-End, Web Design and a lot more):_
🔗 imp.i384100.net/EKWxBW (Affiliate)
Thank you for the support!❤
🎥🔥 Caesar Cipher GUI APP: czcams.com/video/vVBSmYSgNNM/video.html
🎥All my videos about Python: czcams.com/play/PLs8qUrmRvaR0IT4IwJl-LSweAdACW-yLK.html
well done man, i appreciate you sharing the knowledge. the least i could do is subscribe and hit the like button. looking forward to see your future videos. many thanks brother.
Thank you very much for the comment bro! 🥰 Really appreciated! And welcome, you won't be disappointed, a lot of cool content coming up, so stay tuned! 💪🔥
I've got a problem with the input function: it does not let me write on the console, like it's read only. What can I do?
When I did this, it only prints one letter. Any ideas anyone??
What is ciphertext,what is plaintext? Those functions that were used, under which condition can they be used?These questions and many other questions are running on my mind. You're a bit fast and it is somewhat not easy to grasp those things at your pace. But you're really doing a great job and I want to reach your level of knowledge in python language ❤❤
lots of new information, but I watched it all just to be familiar for cybersecruity to see what is like going on in the background or under the hood
Glad you liked the video! 💪
This cipher is really easy to break but it was definitely a big steppingstone to getting where we are now with cryptography, so it's really important to know how it works.
thanks for the video much love from Nepal
Thank you for taking the time to comment! Really appreciated! 😍💪
Useful❤️🙌
Thank you very much for the comment!! ❤😊
My code doesn't work, and even AI cant fix it. No idea what I did wrong. When I have more energy I will go through the video again slowly.
really i enjoy this video your teaching method is easy to understand i like that make more video and thanks best wishes for you
Thank you for the comment! Really appreciated! 😍💪😊
How can i get your source code on Github
Hi! I understood everything :) but what if the user entered a special character? Would we need to create a list with those special characters? but how could we make sure that they don't alter the cypher?
Hello 😊 I'm glad you could understand everything! 😍 💪
If the user enters a character that is not in the list (numbers, special chars, etc), that character will be shown as is, meaning, it won't be encrypted at all. You can add as many characters as you want to the list "letters". Of course you need to encrypt and decrypt using the same list (same order of characters), otherwise you would get a wrong result when decrypting. If you use the same app as we do here, everything will be fine. If someone alters the program the only thing you would get is a wrong result, so nothing to worry about 😉
Me again. I'm.looking at the theory of one academic who suggested a modification to cessr cipher, if alphabet index is even then increase value by one if not decrease key value by - 1. What program would this be
where I can contact with you please?
Sir I tried this program the gui works fine but the caesar cipher part throws an string index out of range error please help me out !!!
Hello, thank you for the comment 😊
The code at the beginning works properly only if you have 26 letters in the "letters" string, if you have more or fewer, things might not work as expected because we hard coded the 26 when creating the new_index.
For this reason, if you have a different amount of letters, you need to replace the 26 with the amount of letters you have in the string "letters", otherwise you'll get that error. During the video I also changed the 26 with a not hard coded value so that it does this change automatically.
Remember that you can get personalised coding support and a lot more if you are a Level 4 member of my Patreon community ( www.patreon.com/FabioMusanni )
Hi sir Im not getting the output of cipher text for the encryption sir kindly help me to resolve it
Hello Shannu,
you can find the working source code here: www.buymeacoffee.com/fabiomusanni/e/182935
Can this be made into a webpage to make it look better? Just for a school project
Hello 😊
I actually made a video where I show you how to make this Python program with also the Graphic User Interface: czcams.com/video/vVBSmYSgNNM/video.html
I also have a video about making this as a web application, but in that case I used Javascript: czcams.com/video/CNDijVw-tSQ/video.html
I have a question sir,so there is a string and i encrypted it using the caeser cipher method and i got the encrypted string,now i want to xor it.For ex : abcd
places to shift: 3
Encrypted Caesar String: defg
Now encrypt it with a salt lets say ‘abc’
Hello 😊
This is how the Caesar Cipher works. I'm not an expert in cryptography but I'm not sure if the salt in this case makes sense. When hashing a password, for example, a random salt and the password are concatenated and then the whole thing is hashed so that the same password hashed more than once will have a different result each time, making it more difficult to crack. In this case if you add random letters before the actual text and you encrypt it, then when you decrypt it, you'll have random letters at the beginning and then the text that makes sense, so it's completely understandable even with the salt.
If you have something else in mind, it could be a nice exercise, experiment with that 😉💪
can you tell which website you use for python program?
I think you mean the code editor, right? I'm using Visual Studio Code (VS Code for short) 😊
@@FabioMusanni thank you for replying ☺️
@@rainbow312 No worries ☺☺
I found some code really similar to this in openai
So what's that supposed to mean? 🤔🤔
@@FabioMusanni Its means i found some similar code to that when i used openai. but anyways keep up the content man :)
Okay 😊 Thanks! 💪
I was just making sure you weren't assuming that I copied it from there, because this is definitely not the case. In fact, as I write the program I always try to explain the reasoning behind each step so that a beginner can actually learn something along the way, although a lot of people don't actually watch and listen to the whole video and just copy and paste things, which is not ideal if you want to really learn and improve 😉😊
@@FabioMusanni ohh yeahh I didn’t mean it like that I’m sorry I’ve watched ur videos for a really long time haha. I’m very sorry for saying it that way ❤️💪
Haha no worries!! Thank you for clarifying that! ❤💪🔥
COULD YOU SHARE CODE LINK
Hello 😊
I share the code only with level 3 members of my Patreon community ( www.patreon.com/FabioMusanni )
nooooo dont buy please, mr :')