Hill Cipher (Encryption)

  Рет қаралды 553,565

Neso Academy

Neso Academy

Күн бұрын

Пікірлер
@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 10 ай бұрын
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 6 ай бұрын
Bro NEY (13 4 24) THAT'S WRONG ............
@kirtanjaviya4306
@kirtanjaviya4306 6 ай бұрын
Answer would be (14 3 7) of (NEY)
@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 11 ай бұрын
😅😂
@nice6524
@nice6524 10 ай бұрын
Even college faculty depend on these videos
@ashwinivaidya4183
@ashwinivaidya4183 10 ай бұрын
Very toughest algorithm understood in very simplest way ❤ love you neso❤
@Gokuyt255
@Gokuyt255 Ай бұрын
Can you explain me how to solve mod tomorrow is my exam pls help
@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 2 ай бұрын
you are right brother
@Gokuyt255
@Gokuyt255 Ай бұрын
Can you explain me how to solve mod tomorrow is my exam pls help
@arulbalaji431
@arulbalaji431 3 жыл бұрын
you are the best professor in the world , hats off bro :)
@karthickdhanaraj2575
@karthickdhanaraj2575 22 күн бұрын
New peeps out there, different formula used here for encryption C=K*P. Both conventions are produce different answers due to inherent matrix multiplication properties, but adopt the one your professor's taught to score marks. Similar with decryption P=K^(-1)*C .
@Sanjaysview
@Sanjaysview 9 ай бұрын
I just want to say thank you so much
@ki_san321
@ki_san321 3 ай бұрын
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.
@rahulguggilam5120
@rahulguggilam5120 3 жыл бұрын
Bro please upload stacks completely as soon as possible our syllabus is running so fast
@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
@rajeshbalasingi377
@rajeshbalasingi377 2 жыл бұрын
Thanks a lot sir It's help to done with my assignment
@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 Жыл бұрын
Column vector , Row vector same thing .
@sameer282
@sameer282 2 жыл бұрын
IN VIDEO AT 16:30 THE VALUE OF P1 IS 353 ONCE CHECK
@sameer282
@sameer282 2 жыл бұрын
P1 value
@ferhangursum1693
@ferhangursum1693 Жыл бұрын
YEP 221 + 84 + 48 =353 @@sameer282
@ashazra2559
@ashazra2559 3 жыл бұрын
The cipher text for pay is LNS, why is yours different?
@rnjnmhta.catomato
@rnjnmhta.catomato Жыл бұрын
a lot of u are saying he is wrong but he's right using the example from whitman cengage Book
@Gokuyt255
@Gokuyt255 Ай бұрын
Can you explain me how to solve mod tomorrow is my exam pls help
@abhisheksinghrajput1002
@abhisheksinghrajput1002 3 жыл бұрын
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 10 ай бұрын
Yes exactly
@comradepeter87
@comradepeter87 3 ай бұрын
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.
@shwetahegde8850
@shwetahegde8850 Жыл бұрын
Thank you sir.. Very helpful
@purvababhulkar1415
@purvababhulkar1415 3 жыл бұрын
Thanks a lot😊
@sandynaguib4806
@sandynaguib4806 Жыл бұрын
Is choosing the key based on any criteria other than the dimensions of the matrix ?
@beletebekele1211
@beletebekele1211 Жыл бұрын
tanks your help me academically tutor.
@paritoshpandey5705
@paritoshpandey5705 2 жыл бұрын
Can we only encrypt on only plaintext that have length as multiples of 3 if key is 3×3 ?
@utsavseth6573
@utsavseth6573 Жыл бұрын
beautifully explained
@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.
@babydisyam3508
@babydisyam3508 Жыл бұрын
Very very so much👍 ❤❤❤❤❤
@Gokuyt255
@Gokuyt255 Ай бұрын
How many of you watching one day before exam 😂
@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?
@gemechu7384
@gemechu7384 3 жыл бұрын
Thankyou so much👏👏👏
@pramod198
@pramod198 3 жыл бұрын
Sir in Network analysis we want Time domain analysis of RL and RC circuits
@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
@Kuber-n8b
@Kuber-n8b 11 ай бұрын
What about the encryption of spaces between each words?
@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...
@ganeshbagul9732
@ganeshbagul9732 8 ай бұрын
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
@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
@AnshumanPal-pk3ei
@AnshumanPal-pk3ei Жыл бұрын
Sir the cipertext of of "mor" is different from what you are saying
@sammymendis475
@sammymendis475 Жыл бұрын
Thank you so much!
@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
@Ogg_skimmer
@Ogg_skimmer 29 күн бұрын
yh this is the correct answer for matrix to be able to multiply the row should be the same eg. 3x3 . 3x1 but nou 3x3 . 1x3
@kon_humein
@kon_humein 28 күн бұрын
​@@Ogg_skimmeru need to take transpose of key which he forgot when using row wise
@Ogg_skimmer
@Ogg_skimmer 28 күн бұрын
@@kon_humein yh that’s the same as 3x1 matrix
@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
@ilhemwalker9145
@ilhemwalker9145 2 жыл бұрын
thank you
@Hecker_bro
@Hecker_bro 11 ай бұрын
12:40 bhai tune 3x3 and 1x3 matrix multiply kaise kar diya??
@kon_humein
@kon_humein 28 күн бұрын
1x3 aur 3x3 kiya hai
@CSsaThishR
@CSsaThishR Жыл бұрын
How to insert the filler character if plaintext ends with two digit
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@rohitpatle2312
@rohitpatle2312 5 ай бұрын
Hamari ma'am bhi yahi se padh ke padha rahi hai class mai 😅😅
@Yash_kamble2201
@Yash_kamble2201 5 ай бұрын
Copy paste 😅
@spoideegaming6168
@spoideegaming6168 5 ай бұрын
yup it's right bro 😂 is se accha to youtube ka premium membership le lete ads to skip ho jate
@RVGAMING-ot3bf
@RVGAMING-ot3bf 5 ай бұрын
😅
@Student_of_bca
@Student_of_bca 2 ай бұрын
Why are subtitles off?
@ashiksaleem360
@ashiksaleem360 3 жыл бұрын
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
@soundarrajan8311
@soundarrajan8311 3 жыл бұрын
If there is no key value what can i do would you pls explain
@anirbansaha2104
@anirbansaha2104 11 ай бұрын
pray
@kirthika821
@kirthika821 5 ай бұрын
How to get the ppt ??
@AnshumanPal-pk3ei
@AnshumanPal-pk3ei Жыл бұрын
If we divide 532by 26 the answer is 20 point something
@dr.anitapradhan5489
@dr.anitapradhan5489 2 жыл бұрын
MAM IF FOX & XEROX WILL BE THE PLAINTEXT HOW TOMAKE PAIR
@5_Minute.Lectures
@5_Minute.Lectures 2 жыл бұрын
Thank you !!!
@DasEtwas
@DasEtwas 3 жыл бұрын
nice video
@shreenathsp7016
@shreenathsp7016 2 жыл бұрын
13:35 its qql not rrl
@Ogg_skimmer
@Ogg_skimmer 29 күн бұрын
wrong answer, my dear UG student for matrix to be able to multiply, the rows should be the same eg. 3x3 . 3x1 but nou 3x3 . 1x3
@dr.anitapradhan5489
@dr.anitapradhan5489 2 жыл бұрын
MAM PLEASE POST FOR MORE VIDEOS
@hetdoshi9385
@hetdoshi9385 Жыл бұрын
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
@nadeemdanish1868
@nadeemdanish1868 Ай бұрын
el(L) ❌ yel ✅
@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 11 ай бұрын
Issko koi tappad marke chup karo
@TechAsad
@TechAsad 9 ай бұрын
Plain text should be in column not in row
@AyeshaSahelRahamathISE--
@AyeshaSahelRahamathISE-- 3 жыл бұрын
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 3 жыл бұрын
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
@subrajitbhowmik706
@subrajitbhowmik706 10 ай бұрын
how L is 11 in PAY
@irtiqamuzaffarzaki3706
@irtiqamuzaffarzaki3706 2 жыл бұрын
Last calculation is incorrect needs to b rectified
@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 3 жыл бұрын
@@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?
@motivation_with_harsh
@motivation_with_harsh Жыл бұрын
Answer to this question = RRLMWBKAQPDH
@PaulMarkovu
@PaulMarkovu 2 ай бұрын
You multiplied vector by matrix but u should multiply matrix by vector so u r wrong
@TechnicalWaniyt
@TechnicalWaniyt Жыл бұрын
cipher text is wrong bro
@phunsukhwangdu8273
@phunsukhwangdu8273 4 ай бұрын
sharath sir .............
@mhsamhsa5456
@mhsamhsa5456 Жыл бұрын
i hope translate for arabic
@AnshumanPal-pk3ei
@AnshumanPal-pk3ei Жыл бұрын
You are saying 12
@Haramian.
@Haramian. 2 ай бұрын
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
@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 3 жыл бұрын
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 2 жыл бұрын
@@smilealways7344 bilkul
@cst030santhoshm4
@cst030santhoshm4 2 жыл бұрын
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 6 ай бұрын
I agree, Plaintxt and Ciphertxt matrices should always be column matrices
@MuhammadFaez1
@MuhammadFaez1 Жыл бұрын
you did the calculation wrong
@skbala3107
@skbala3107 Жыл бұрын
Ney answer wrong
@mahirchauhan213
@mahirchauhan213 2 жыл бұрын
Formula is false True formula is :k*p(mod 26 )
@poojapoojadhapte1430
@poojapoojadhapte1430 6 ай бұрын
😊
@jaypatel6770
@jaypatel6770 9 ай бұрын
lnshdlewmtrw
@mercykimaiyo6338
@mercykimaiyo6338 Жыл бұрын
This is wrong the multiplication of the matrix is not it
@Adonis08
@Adonis08 Жыл бұрын
🔴🔴🔴🔴🔴🔴🔴 This is Wrong!!! just one change K*P instead of P*K .. otherwise you will get a Wrong answer btw Thank you!!!
@tusharjeena7081
@tusharjeena7081 2 жыл бұрын
It is wrong method
@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.
@shivvi__
@shivvi__ Жыл бұрын
Actually 15*17+0*21+24*2 is 255 and you are saying it as 303 lol
@rodzay8771
@rodzay8771 9 ай бұрын
It’s “303” 255*48 = 303
@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
@manjunathkavishetti4619
@manjunathkavishetti4619 2 жыл бұрын
Why did u take p1 p2 p3 in row wise..why not in column wise..?
@itz_my_planet4202
@itz_my_planet4202 3 жыл бұрын
Sir plz continue the series of discrete mathematics 😭😭😭😭😭😭
@sawpaingchitmin8848
@sawpaingchitmin8848 9 ай бұрын
Thank a lot sir!
@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
Рет қаралды 375 М.
Polyalphabetic Cipher (Vigenère Cipher)
13:56
Neso Academy
Рет қаралды 390 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Rail Fence Technique
6:46
Neso Academy
Рет қаралды 215 М.
Security Attacks
15:54
Neso Academy
Рет қаралды 320 М.
Monoalphabetic Cipher
15:59
Neso Academy
Рет қаралды 379 М.
Hill Cipher Explained (with Example)
12:55
Aladdin Persson
Рет қаралды 37 М.
Row Column Transposition Ciphering Technique
8:15
Neso Academy
Рет қаралды 300 М.
Multiple Encryption and Triple DES
20:54
Neso Academy
Рет қаралды 52 М.
The Chinese Remainder Theorem (Solved Example 1)
14:22
Neso Academy
Рет қаралды 645 М.
Segmented Displays
13:55
Posy
Рет қаралды 6 МЛН
Playfair Cipher (Part 1)
12:49
Neso Academy
Рет қаралды 555 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19