Hill Cipher Python

How to implement Hill Cipher in Python? How to find the inverse of the key in Python? In this video, we are going to answer these questions and we will see h...

Cryptography Explained3.4K views37:01

About this video

How to implement Hill Cipher in Python? How to find the inverse of the key in Python? In this video, we are going to answer these questions and we will see how encryption and decryption of Hill Cipher can be done in Python.

If you would like to learn more about Hill Cipher, its definition and a detailed example, check out this video:
https://youtu.be/CpzXvsKRipc

Detailed explanation of matrix inversion over a finite ring in Python:
https://youtu.be/fMLWxlJw9nI

You can find the cleaned up version of the code in the video in the link below:
https://github.com/sohrabganjian/Cryptography/blob/5089b9a9f1e37a499f625d7332cfa05215f029fd/Educational%20and%20Historical%20Cryptosystems/Hill%20Cipher%20Python.ipynb

If you know alternative methods for finding the inverse of a matrix over a finite field in Python or you would have implemented Hill Cipher differently, please share your ideas in the comment section. I would like to hear your thoughts or feedback.

Thank you for watching this video :)

00:00 - Preview and Introduction
00:44 - Setting up variables, plaintext and key
12:24 - Hill Cipher Encryption
20:15 - Finding the inverse of the Hill Cipher key in Python
28:08 - Hill Cipher Decryption
4.4

3 user reviews

Write a Review

0/1000 characters

User Reviews

0 reviews

Be the first to comment...

Video Information

Views
3.4K

Total views since publication

Likes
45

User likes and reactions

Duration
37:01

Video length

Published
Mar 2, 2022

Release date

Quality
hd

Video definition

Related Trending Topics

LIVE TRENDS

This video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!

THIS VIDEO IS TRENDING!

This video is currently trending in Thailand under the topic 'สภาพอากาศ'.

Share This Video

SOCIAL SHARE

Share this video with your friends and followers across all major social platforms including X (Twitter), Facebook, Youtube, Pinterest, VKontakte, and Odnoklassniki. Help spread the word about great content!