Vigenere Cipher 🔥🔥

preview_player
Показать описание
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:

Cryptography and System Security Playlist:
System Programming & Compiler Construction Playlist:
*Mobile Computing Playlist:
*Digital Signal & Image Processing Playlist:
* Artificial Intelligence:

*Gears used for this YouTube Channel:

*Let's connect:
Рекомендации по теме
Комментарии
Автор

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

mohammadikramm
Автор

The answer to the question is
ZICVTWQNGRZGVTW

vktultrainstinct
Автор

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

amanshaikhvlogs
Автор

Vernam and vigenere cipher techniques me kya differences hai

gautamkumarverma
Автор

Perfect and too the point love from PK ❤

misdaqmehdi
Автор

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

chjibrann
Автор

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

Gearshift_innovator
Автор

Home work question solution:
ZICVTWQNYRZGVTW

ASHISHKUMAR-dejn
Автор

ZICVTWQNGRZGVTW Answer to HW question.

juvekarmaitreya
Автор

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

amanshah
Автор

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 =

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"))

sumangole
Автор

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

theoctaveclub