Encryption of message with ceasor cipher algorithm using python

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • In this video, I have shown you how to create a python script which will do encryption for you using ceasor cipher algorithm there is no external module required for this project.
    related questions :
    * Python Encryption Tutorial with PyCrypto
    * The Caesar cipher | Journey into cryptography | Computer Science | Khan Academy
    * EASY Caesar Cipher in Python
    tags : #ceasor_cipher #encription_using_python #i_know_python
  • Věda a technologie

Komentáře • 43

  • @mukeshjasaiwal5845
    @mukeshjasaiwal5845 Před 10 měsíci

    thanks sir

  • @paulcoffee77
    @paulcoffee77 Před 4 lety +9

    great video and much better than the one in the video course i paid for, but didn't pay too much 4 it
    :)

  • @hifzaali1556
    @hifzaali1556 Před 2 lety

    Awesome explanation

  • @mdshahidurrahman8111
    @mdshahidurrahman8111 Před 4 lety +3

    Thank you so much for your contribution

  • @land-kc9qz
    @land-kc9qz Před rokem

    Thanks for the video you help me learn more about python still new to it but I have learned other languages

  • @somag6810
    @somag6810 Před 3 lety +3

    Please correct the spelling #encryption. Just suggesting as you may miss any hits with the relevant hashtag. Good video. Thank you.

  • @Mdroudian
    @Mdroudian Před 2 lety

    from collections import deque

  • @missindia3494
    @missindia3494 Před 2 lety +2

    can you please also make a video for decryption?

  • @gilfoylekhan
    @gilfoylekhan Před 2 lety

    wow im early

  • @venkateshjajula5711
    @venkateshjajula5711 Před 3 lety

    Thank you ❤️

  • @lohithnani8417
    @lohithnani8417 Před 3 lety

    Excellent explaination ,i learned something from this but in decryption how to print

  • @cherianthomas4792
    @cherianthomas4792 Před 4 lety +1

    Good one, how we can do the test cases.please explain

  • @Jonpaulim
    @Jonpaulim Před 3 lety

    Great Video. CAn I ask you a question please

  • @GurpreetKaur-sk2yq
    @GurpreetKaur-sk2yq Před 10 měsíci

    Can you explain why you used %26 in detail

  • @aayushbannapure4153
    @aayushbannapure4153 Před 3 lety

    Please activate Windows
    bt still Love u r vids :)

  • @JNET_Reloaded
    @JNET_Reloaded Před 3 lety

    Q1 Any prerequsits? and Q2 can you put on github and put link to your vids so i can add them to my playlists?

  • @shaikbeelal2371
    @shaikbeelal2371 Před 3 lety

    Simple cipher is also

  • @masterkrepez7583
    @masterkrepez7583 Před 2 lety

    What if we have a text with symbols(.?,) how do we let them as they are and just keep the text

  • @-taylor-9980
    @-taylor-9980 Před 2 lety

    What is this program you are using? I can't find any downloads that do not just show me a command prompt its pissing me off.

  • @dd_ad4620
    @dd_ad4620 Před 4 lety +1

    thanks

  • @Whatever-po3vn
    @Whatever-po3vn Před 3 lety +1

    Can you make a version of decryption?

    • @atomicnolxix
      @atomicnolxix Před 3 lety +2

      (x+n)%26 is for encryption
      (x-n)%26 is for decryption

    • @hawkguy0986
      @hawkguy0986 Před 2 lety

      @@atomicnolxixBut where do you make changes in the code

    • @atomicnolxix
      @atomicnolxix Před 2 lety

      @@hawkguy0986 In the elif and else statement blocks

    • @hawkguy0986
      @hawkguy0986 Před 2 lety

      @@atomicnolxix I keep running into a range error in those blocks when I do that. What should the code be?

    • @hawkguy0986
      @hawkguy0986 Před 2 lety

      Nvm I figured it out. Thanks for your help

  • @undefinedgamer1537
    @undefinedgamer1537 Před 2 lety

    now how to decrypt also show that

  • @hawkguy0986
    @hawkguy0986 Před 2 lety

    I can't figure out the decryption of the code. Can someone help me

  • @cardboardpow8979
    @cardboardpow8979 Před 3 lety

    after a lot of internet, I have something I'm proud of
    import string
    cipher = lambda text, offset : text.translate(str.maketrans(string.ascii_letters, f"{string.ascii_letters[-offset % 51 + 1:]}{string.ascii_letters[:-offset % 51 + 1]}"))

    • @78anurag
      @78anurag Před 3 lety

      I have no idea what this code does but 👍

  • @ragingbull23
    @ragingbull23 Před 3 lety

    hey I followed your steps but my encrypted text only outputs 1 character, how can I fix this?

    • @vidyashree8418
      @vidyashree8418 Před 2 lety

      Even I'm facing the same problem?

    • @vidyashree8418
      @vidyashree8418 Před 2 lety

      What to do for that

    • @hawkguy0986
      @hawkguy0986 Před 2 lety

      def encripted(string,shift):
      cipher=' '
      for char in string:
      if char==' ':
      cipher=cipher+char
      elif char.isupper():
      cipher=cipher+chr((ord(char)-shift+65)%26+65)
      else:
      cipher=cipher+chr((ord(char)-shift+97)%26+97)

      return cipher

  • @star_12_08
    @star_12_08 Před 2 lety

    Please...i want code in verilog 😢...

  • @fareeyafaisal8201
    @fareeyafaisal8201 Před 3 lety

    hi can you send me code

  • @pineapple1juice414
    @pineapple1juice414 Před 4 lety +1

    Make a decrypter for it

    • @Iknowpython
      @Iknowpython  Před 4 lety +4

      bro for decryption just replace '+' with '-' in the formula and you are done

    • @jasonwesterkamp4331
      @jasonwesterkamp4331 Před 4 lety

      @@doneeverything5410 to decrypt the message, enter the encrypted message as the new input message and place a - sign in front of the original shift key used in the original encryption.

    • @akshatdodhiya
      @akshatdodhiya Před 3 lety

      @@doneeverything5410 Only replace the '+' before the shift with '-', everything else should remain the same.

  • @ajithpinninti7373
    @ajithpinninti7373 Před 4 lety +1

    Plz remove noise from bg

    • @Iknowpython
      @Iknowpython  Před 4 lety

      ok bro next time i will take care of that