Vigenere Cipher 🔥🔥

Sdílet
Vložit
  • čas přidán 15. 02. 2022
  • This video is about Vigenere Cipher in Cryptography and system security or Network Security in Hindi.
    In this lesson, I teach:
    * Vigenere Cipher Encryption
    * Vigenere Cipher in Hindi
    Purchase notes right now,
    more details below:
    perfectcomputerengineer.teach...
    Cryptography and System Security Playlist:
    • Playlist to Cryptograp...
    System Programming & Compiler Construction Playlist:
    • Playlist to System Pro...
    *Mobile Computing Playlist:
    • Playlist to Mobile Com...
    *Digital Signal & Image Processing Playlist:
    • Digital Signal & Image...
    * Artificial Intelligence:
    • Playlist to Artificial...
    *Gears used for this CZcams Channel:
    linktr.ee/perfectcomputerengi...
    *Let's connect:
    Instagram: / planetojas

Komentáře • 41

  • @mohammadikramm
    @mohammadikramm Před rokem +38

    If P+K < 26 then key will remain same and if P+K > 26 then key = P+K - 26.

    • @afaqdey
      @afaqdey Před rokem +6

      U made the MOD work so easy, don't even need a calculator :)

    • @Jaa_Puchhke_Aa
      @Jaa_Puchhke_Aa Před 8 měsíci +2

      Not >26, it's >25*
      Because we start assigning "a"=0
      If it's 26, you don't need to calculate.. the answer is simply "a"

    • @saiyanwarrior3047
      @saiyanwarrior3047 Před 2 měsíci +1

      Love u bro u made a new formula love u

  • @amanshaikhvlogs
    @amanshaikhvlogs Před 2 lety +4

    Thanks A LOT FOR THIS VIDEO, HELPFUL, EXAM IN 10 DAYS

  • @kalyani5964
    @kalyani5964 Před 9 měsíci +2

    Best explanation ever 🎉

  • @vktultrainstinct
    @vktultrainstinct Před rokem +20

    The answer to the question is
    ZICVTWQNGRZGVTW

  • @AshishKoli-ub2pz
    @AshishKoli-ub2pz Před 8 měsíci +2

    Thank you brother ❤

  • @staranonymous7656
    @staranonymous7656 Před rokem

    Thank you sir ❤

  • @abusufyan2208
    @abusufyan2208 Před měsícem +1

    😊😊

  • @imrahill7
    @imrahill7 Před rokem

    Thank you

  • @hitesh6459
    @hitesh6459 Před rokem

    Thanks ❤

  • @mdfajlarabby3942
    @mdfajlarabby3942 Před rokem

    thank you

  • @AbhishekSharma-hd4ds
    @AbhishekSharma-hd4ds Před rokem +1

    best ever

  • @misdaqmehdi4785
    @misdaqmehdi4785 Před rokem +1

    Perfect and too the point love from PK ❤

  • @jainabdinmoenshaik2530
    @jainabdinmoenshaik2530 Před 7 měsíci

    provide link for the watch you worn!!

  • @gautamkumarverma2929
    @gautamkumarverma2929 Před měsícem

    Vernam and vigenere cipher techniques me kya differences hai

  • @dhartiodedara8023
    @dhartiodedara8023 Před 9 měsíci

    This js vernam cipher (one time pad )

  • @KHURRAMSHAHZAD-jl5qi
    @KHURRAMSHAHZAD-jl5qi Před rokem +1

    voice is just like Amir Khan.

  • @Gearshift_innovator
    @Gearshift_innovator Před 8 měsíci +1

    ans to correct hai lekin aolve krne me aaadha ghnta lag gyaaaa

  • @subrajitbhowmik706
    @subrajitbhowmik706 Před 5 měsíci +1

    mera kaal exam hain 😅🤣

  • @chjibrann
    @chjibrann Před rokem +1

    what if key's length greater than the plain text's length ?

    • @manishplayz6687
      @manishplayz6687 Před rokem +1

      Double the plain text until it matches the length of key but most of time key is shorter the pt

  • @juvekarmaitreya1833
    @juvekarmaitreya1833 Před rokem +3

    ZICVTWQNGRZGVTW Answer to HW question.

  • @ASHISHKUMAR-de9jn
    @ASHISHKUMAR-de9jn Před rokem +2

    Home work question solution:
    ZICVTWQNYRZGVTW

  • @amanshah9414
    @amanshah9414 Před rokem +3

    Cipher : z I c g x l d w f s x t I m y
    sir this correcet ???

  • @sumangole3594
    @sumangole3594 Před rokem +3

    import string
    def alphabet_table():
    alphabets_ = {}
    alphabets = string.ascii_lowercase
    for i, alphabet in zip(range(26), alphabets):
    alphabets_[alphabet] = i
    return alphabets_
    def key_table():
    keys = {}
    alphabets = string.ascii_lowercase
    for i, alphabet in zip(range(26), alphabets):
    keys[i] = alphabet
    return keys
    def get_keys_for_alphabets(text):
    return [alphabet_table()[char] for char in text]
    def vigenere_cipher(text, key):
    len_of_text = len(text)
    len_of_key = len(key)
    if len_of_text > len_of_key:
    desired_length = len_of_text - len_of_key
    padded_key = (key * ((desired_length // len(key)) + 1))[:desired_length]
    new_key = key + padded_key
    cipher_keys_list = get_keys_for_alphabets(new_key)
    else:
    cipher_keys_list = get_keys_for_alphabets(key)
    plain_list = get_keys_for_alphabets(text)
    cipher_text_list = [(p + k) % 26 for (p, k) in zip(plain_list, cipher_keys_list)]
    cipher_chars = [key_table()[val] for val in cipher_text_list]
    cipher_text = "".join(cipher_chars)
    return cipher_text
    if __name__ == "__main__":
    print(vigenere_cipher("wearediscovered", "deceptive"))

  • @theoctaveclub
    @theoctaveclub Před 2 lety +4

    Z I C O T W W N G R Z H V T W
    hope i am right