Hill Cipher (Encryption)

  Рет қаралды 518,179

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 139
@nesoacademy
@nesoacademy 2 жыл бұрын
Hill Cipher can be done in 2 different ways, 3*1 and 1*3. We will get different answers following the different ways. But adopting one method will surely satisfy encryption and Decryption. Few conventions use KP and a few uses PK.
@kunalh910
@kunalh910 Жыл бұрын
I dont understand ..how can two different ciphertext of same plain text can be possible .
@bipinverma
@bipinverma Жыл бұрын
But according to formulas we have to adopt 3*1 if we are using c=k*p mod 26
@ReelzAndLaughs
@ReelzAndLaughs 8 ай бұрын
We have only method to find cipher text i.e, c=kp mod 25. Here u did it wrong..please update the video..many of the students are loosing marks because of wrong formula
@kirtanjaviya4306
@kirtanjaviya4306 4 ай бұрын
Bro NEY (13 4 24) THAT'S WRONG ............
@kirtanjaviya4306
@kirtanjaviya4306 4 ай бұрын
Answer would be (14 3 7) of (NEY)
@poongundran007
@poongundran007 Жыл бұрын
Pls check the (13, 4, 24) its wrong .. The correct answer is (13, 4, 24) mod 26 is (353, 341, 605) mod 26 which is (15, 3, 7) =(P D H)
@Reactionface0
@Reactionface0 24 күн бұрын
you are right brother
@lakshmiprathyushaveturi4980
@lakshmiprathyushaveturi4980 3 жыл бұрын
Sir please continue the complete playlist ... We just depend on your playlist rather than our faculty...
@AkashDeep-rr6jo
@AkashDeep-rr6jo 2 жыл бұрын
Paid lectures
@l3nox_music
@l3nox_music 2 жыл бұрын
😂😂😂😂
@Supreetvajjaramatti
@Supreetvajjaramatti 9 ай бұрын
😅😂
@nice6524
@nice6524 8 ай бұрын
Even college faculty depend on these videos
@ashwinivaidya4183
@ashwinivaidya4183 8 ай бұрын
Very toughest algorithm understood in very simplest way ❤ love you neso❤
@arulbalaji431
@arulbalaji431 2 жыл бұрын
you are the best professor in the world , hats off bro :)
@Sanjaysview
@Sanjaysview 7 ай бұрын
I just want to say thank you so much
@abhisheksinghrajput1002
@abhisheksinghrajput1002 2 жыл бұрын
Sir the for for encryption is = K*P not P*K cause both will give different outcomes cause matrix multiplicative properties... Pls correct it .. btw thank you for the content :)
@Yametekudasaai
@Yametekudasaai Жыл бұрын
Lora
@NDORASRAVANASANDHYA
@NDORASRAVANASANDHYA 8 ай бұрын
Yes exactly
@VivekYadav-ds8oz
@VivekYadav-ds8oz Ай бұрын
What? K*P implies a multiplication of 3x3 and 1x3, that's not possible. You'd have to change your plaintext to be a column vector then.
@rahulguggilam5120
@rahulguggilam5120 3 жыл бұрын
Bro please upload stacks completely as soon as possible our syllabus is running so fast
@rnjnmhta.catomato
@rnjnmhta.catomato Жыл бұрын
a lot of u are saying he is wrong but he's right using the example from whitman cengage Book
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@prathameshchavan3953
@prathameshchavan3953 Жыл бұрын
Sir, the formula for encryption is Ci = (Ki*Pi) mod 26. where, Ci = Cipher Text, Ki = Key, Pi = Plain text
@rnjnmhta.catomato
@rnjnmhta.catomato Жыл бұрын
both
@Justanerd239
@Justanerd239 10 ай бұрын
Column vector , Row vector same thing .
@yey7718
@yey7718 2 жыл бұрын
This is wrong answer …. The ciphertext is :LNS HDL EWM TRW , you missed when you multiplication the row with a column its wrong the right solution its a Row with Row
@manjunathkavishetti4619
@manjunathkavishetti4619 2 жыл бұрын
Why did u take p1 p2 p3 in row wise..why not in column wise..?
@rajeshbalasingi377
@rajeshbalasingi377 2 жыл бұрын
Thanks a lot sir It's help to done with my assignment
@ShivamPatel-pq4vt
@ShivamPatel-pq4vt 3 жыл бұрын
Can you please continue and finish this series fast?! If I have to pay I will
@slayerdangelo234
@slayerdangelo234 2 жыл бұрын
Whoa 😮
@Mp-lw8tw
@Mp-lw8tw 2 жыл бұрын
"pay more money" lol
@shwetahegde8850
@shwetahegde8850 10 ай бұрын
Thank you sir.. Very helpful
@ki_san321
@ki_san321 Ай бұрын
For the Hill cipher, you must perform matrix multiplication, treating the plaintext as a column vector. Row-wise alignment will not produce the intended results, and it deviates from the standard method of encryption in the Hill cipher.
@vishwasshukla8687
@vishwasshukla8687 2 жыл бұрын
i think there is a problem with this method. i saw other videos videos K.P here it is P.K, both are different, which method is correct. Plz Explain...
@Hecker_bro
@Hecker_bro 9 ай бұрын
12:40 bhai tune 3x3 and 1x3 matrix multiply kaise kar diya??
@sandynaguib4806
@sandynaguib4806 Жыл бұрын
Is choosing the key based on any criteria other than the dimensions of the matrix ?
@ashiksaleem360
@ashiksaleem360 2 жыл бұрын
I think this method is wrong. cause you multiplied 1*3 x 3*3 instead of 3*3 x 3*1. also i check using a online hill cipher tool
@sawpaingchitmin8848
@sawpaingchitmin8848 7 ай бұрын
Thank a lot sir!
@beletebekele1211
@beletebekele1211 Жыл бұрын
tanks your help me academically tutor.
@diwakar542
@diwakar542 Жыл бұрын
Should have used KP approach. Most of the textbooks follow KP approach as well as most encoders and decoders. I'm 1 year late to know the fact. All the damage haven't been made that were to be made.
@Mohanad_Adnan
@Mohanad_Adnan 2 жыл бұрын
Hi Sir may be there is a mistake in Encryption of ney is (353 341 605) not (348 312 538)
@malavikagowda5809
@malavikagowda5809 2 жыл бұрын
Yeah
@naveenbabusunkoju6068
@naveenbabusunkoju6068 Жыл бұрын
Yes I also find same for ney 353 341 605 but may be some editing error 348 84 48
@beborani1660
@beborani1660 Жыл бұрын
Exactly same issue
@paritoshpandey5705
@paritoshpandey5705 2 жыл бұрын
Can we only encrypt on only plaintext that have length as multiples of 3 if key is 3×3 ?
@purvababhulkar1415
@purvababhulkar1415 3 жыл бұрын
Thanks a lot😊
@rohitpatle2312
@rohitpatle2312 3 ай бұрын
Hamari ma'am bhi yahi se padh ke padha rahi hai class mai 😅😅
@Yash_kamble2201
@Yash_kamble2201 3 ай бұрын
Copy paste 😅
@spoideegaming6168
@spoideegaming6168 3 ай бұрын
yup it's right bro 😂 is se accha to youtube ka premium membership le lete ads to skip ho jate
@RVGAMING-ot3bf
@RVGAMING-ot3bf 3 ай бұрын
😅
@utsavseth6573
@utsavseth6573 Жыл бұрын
beautifully explained
@pramod198
@pramod198 3 жыл бұрын
Sir in Network analysis we want Time domain analysis of RL and RC circuits
@Rimi666
@Rimi666 2 жыл бұрын
I don't understand the division area for example 303/26 is 11 but in the video he said 17 please help
@valkyrex5262
@valkyrex5262 2 жыл бұрын
17 is the remainder, 303÷26=11 remainder 17
@ganeshbagul9732
@ganeshbagul9732 6 ай бұрын
RSA.py import math # step 1 p = int(input(" - Enter a prime number (17, 19, 23, etc): ")) q = int(input(" - Enter another prime number (Not one you entered above): ")) # step 2 n = p*q print("n =", n) # step 3 phi = (p-1)*(q-1) # step 4 e = 2 while(e
@AyeshaSahelRahamathISE--
@AyeshaSahelRahamathISE-- 2 жыл бұрын
I got the answer to be RRLMWBKMSPDH instead of RRLMW A KMSPDH I’m not getting 0 It’s 312mod 26 which means 12 which would give M & not A Correct me if I’m wrong
@yogeshkumar5307
@yogeshkumar5307 2 жыл бұрын
while grouping if we get one or two letters extra, then how to proceed.. eg. if plain text .. my name is joe... grp1: myn grp2: ame grp3: isj .. now what to do with oe?
@haricharan2836
@haricharan2836 2 жыл бұрын
u did 312 mod 26 calculation wrong the remainder should be taken so 0 is correct
@shipenalamech4382
@shipenalamech4382 3 жыл бұрын
Sir I don't understand from final calculation divided by 26. I am not getting same amount.
@valkyrex5262
@valkyrex5262 2 жыл бұрын
303÷26=11 remainder 17, 303÷26=11, 11x26=286, 303-286=17 that's why 17, because its from the remainder
@AnshumanPal-pk3ei
@AnshumanPal-pk3ei Жыл бұрын
Sir the cipertext of of "mor" is different from what you are saying
@Kuber-n8b
@Kuber-n8b 9 ай бұрын
What about the encryption of spaces between each words?
@NeemaPaul-pn4uv
@NeemaPaul-pn4uv Жыл бұрын
What if plain text ended with 2 letter and its three cross three matrix....am asking about the letter added will not have effect when generating the cipher text?
@ilhemwalker9145
@ilhemwalker9145 2 жыл бұрын
thank you
@babydisyam3508
@babydisyam3508 10 ай бұрын
Very very so much👍 ❤❤❤❤❤
@AnshumanPal-pk3ei
@AnshumanPal-pk3ei Жыл бұрын
If we divide 532by 26 the answer is 20 point something
@gemechu7384
@gemechu7384 3 жыл бұрын
Thankyou so much👏👏👏
@sameer282
@sameer282 2 жыл бұрын
IN VIDEO AT 16:30 THE VALUE OF P1 IS 353 ONCE CHECK
@sameer282
@sameer282 2 жыл бұрын
P1 value
@ferhangursum1693
@ferhangursum1693 11 ай бұрын
YEP 221 + 84 + 48 =353 @@sameer282
@nadeemdanish1868
@nadeemdanish1868 Күн бұрын
el(L) ❌ yel ✅
@hetdoshi9385
@hetdoshi9385 10 ай бұрын
in the calculation of encryption of emy you have make misktate but you dont correct it how confusing for any beginer solve it and then your ans is correct so it totally confusing for any beginer
@sharikatasnim1198
@sharikatasnim1198 2 жыл бұрын
This isnt the correct method of encryption. The plain text matrix was supposed to be 3x1 matrix and not 1x3. What Stalling's book says is: the plaintext should be converted to coloumn vector of length k, if the key matrix is a k×k matrix. This is why even the answer is not correct here.
@nesoacademy
@nesoacademy 2 жыл бұрын
Hill Cipher can be done in 2 different ways, 3*1 and 1*3. We will get different answers following the different ways. But adopting one method will surely satisfy encryption and Decryption.
@rnjnmhta.catomato
@rnjnmhta.catomato Жыл бұрын
dono shi h bhen
@beborani1660
@beborani1660 Жыл бұрын
yeah it will be done in column but giving me good concept
@mdmaaz7817
@mdmaaz7817 9 ай бұрын
Issko koi tappad marke chup karo
@Student_of_bca
@Student_of_bca 19 күн бұрын
Why are subtitles off?
@CSsaThishR
@CSsaThishR 10 ай бұрын
How to insert the filler character if plaintext ends with two digit
@5_Minute.Lectures
@5_Minute.Lectures 2 жыл бұрын
Thank you !!!
@DasEtwas
@DasEtwas 3 жыл бұрын
nice video
@TechAsad
@TechAsad 7 ай бұрын
Plain text should be in column not in row
@soundarrajan8311
@soundarrajan8311 2 жыл бұрын
If there is no key value what can i do would you pls explain
@anirbansaha2104
@anirbansaha2104 9 ай бұрын
pray
@PaulMarkovu
@PaulMarkovu 7 күн бұрын
You multiplied vector by matrix but u should multiply matrix by vector so u r wrong
@dr.anitapradhan5489
@dr.anitapradhan5489 2 жыл бұрын
MAM IF FOX & XEROX WILL BE THE PLAINTEXT HOW TOMAKE PAIR
@Haramian.
@Haramian. 27 күн бұрын
Entire multiplication is wrong. It should be k x p and not px k.....I lose 5 marks because of your teaching mistake in my engineering exam
@dr.anitapradhan5489
@dr.anitapradhan5489 2 жыл бұрын
MAM PLEASE POST FOR MORE VIDEOS
@syedmunawerhassan9994
@syedmunawerhassan9994 3 жыл бұрын
You have missed spaces how spaces are encrypted or decrypted ? Why x is padded why not y or what if last letter is x then should we pad x ? Or other character ?
@c3a118
@c3a118 3 жыл бұрын
spaces are not encrypted. do each word separately i suppose
@yogeshkumar5307
@yogeshkumar5307 2 жыл бұрын
@@c3a118 while grouping if we get one or two letters extra, then how to proceed.. eg. if plain text .. my name is joe... grp1: myn grp2: ame grp3: isj .. now what to do with oe?
@irtiqamuzaffarzaki3706
@irtiqamuzaffarzaki3706 2 жыл бұрын
Last calculation is incorrect needs to b rectified
@kirthika821
@kirthika821 3 ай бұрын
How to get the ppt ??
@TechnicalWaniyt
@TechnicalWaniyt Жыл бұрын
cipher text is wrong bro
@shreenathsp7016
@shreenathsp7016 2 жыл бұрын
13:35 its qql not rrl
@subrajitbhowmik706
@subrajitbhowmik706 8 ай бұрын
how L is 11 in PAY
@motivation_with_harsh
@motivation_with_harsh Жыл бұрын
Answer to this question = RRLMWBKAQPDH
@omaralbalouli7452
@omaralbalouli7452 2 жыл бұрын
Your encryption is wrong you have to multiply every message pair with the row not the column I advice you to delete the video and make another one Thanks for the good videos
@nesoacademy
@nesoacademy 2 жыл бұрын
Hill Cipher can be done in 2 different ways, 3*1 and 1*3. We will get different answers following the different ways. But adopting one method will surely satisfy encryption and Decryption.
@brianjoonjiangoh9206
@brianjoonjiangoh9206 3 жыл бұрын
Lol, r u sure u teaching the correct thing? I think the encryption for "Pay more money" is "lns hdle wmtrw" All these people are following blindly lol.
@ashiksaleem360
@ashiksaleem360 2 жыл бұрын
Yup the video is wrong. verified from online hill cipher decoder. i think the error is when he muliplies the matrix. coz 1*3 x 3*3 is not the same as 3*3 x 3*1 and neso is muliplying matrices using 1*3 x 3*3
@JavedIqbal-fb4dk
@JavedIqbal-fb4dk Жыл бұрын
@@smilealways7344 bilkul
@cst030santhoshm4
@cst030santhoshm4 Жыл бұрын
The method is correct but plain text should be taken in the order 3*1 but here it is taken in the form of 1*3 thats why there is a such variation in the chipertext
@bulliraju5439
@bulliraju5439 Жыл бұрын
@@cst030santhoshm4 we can't multiply if we take (1*3)
@scooby-doo1778
@scooby-doo1778 4 ай бұрын
I agree, Plaintxt and Ciphertxt matrices should always be column matrices
@mahirchauhan213
@mahirchauhan213 Жыл бұрын
Formula is false True formula is :k*p(mod 26 )
@phunsukhwangdu8273
@phunsukhwangdu8273 2 ай бұрын
sharath sir .............
@shivvi__
@shivvi__ 10 ай бұрын
Actually 15*17+0*21+24*2 is 255 and you are saying it as 303 lol
@rodzay8771
@rodzay8771 7 ай бұрын
It’s “303” 255*48 = 303
@MuhammadFaez1
@MuhammadFaez1 Жыл бұрын
you did the calculation wrong
@jaypatel6770
@jaypatel6770 7 ай бұрын
lnshdlewmtrw
@AnshumanPal-pk3ei
@AnshumanPal-pk3ei Жыл бұрын
You are saying 12
@poojapoojadhapte1430
@poojapoojadhapte1430 4 ай бұрын
😊
@Adonis08
@Adonis08 Жыл бұрын
🔴🔴🔴🔴🔴🔴🔴 This is Wrong!!! just one change K*P instead of P*K .. otherwise you will get a Wrong answer btw Thank you!!!
@mercykimaiyo6338
@mercykimaiyo6338 Жыл бұрын
This is wrong the multiplication of the matrix is not it
@skbala3107
@skbala3107 Жыл бұрын
Ney answer wrong
@mhsamhsa5456
@mhsamhsa5456 Жыл бұрын
i hope translate for arabic
@tusharjeena7081
@tusharjeena7081 2 жыл бұрын
It is wrong method
@naveenbabusunkoju6068
@naveenbabusunkoju6068 Жыл бұрын
With respect i want to let you know for ney 353 341 605 but may be some editing error 348 84 48 displayed calculations
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@ashazra2559
@ashazra2559 3 жыл бұрын
The cipher text for pay is LNS, why is yours different?
@sammymendis475
@sammymendis475 Жыл бұрын
Thank you so much!
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
Hill Cipher (Decryption)
30:03
Neso Academy
Рет қаралды 350 М.
Polyalphabetic Cipher (Vigenère Cipher)
13:56
Neso Academy
Рет қаралды 365 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 89 МЛН
Triple kill😹
00:18
GG Animation
Рет қаралды 16 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 30 МЛН
Monoalphabetic Cipher
15:59
Neso Academy
Рет қаралды 355 М.
Playfair Cipher (Part 1)
12:49
Neso Academy
Рет қаралды 516 М.
Hill Cipher Explained (with Example)
12:55
Aladdin Persson
Рет қаралды 36 М.
Caesar Cipher (Part 1)
13:23
Neso Academy
Рет қаралды 541 М.
Row Column Transposition Ciphering Technique
8:15
Neso Academy
Рет қаралды 277 М.