Differential cryptanalysis using Python 3
The code implements a SPN (Substitution Permutation Network) cryptography algorithm in Python. The code defines functions for an S-Box, P-Box, and the SPN al...
🔥 Related Trending Topics
LIVE TRENDSThis 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 'สภาพอากาศ'.
About this video
The code implements a SPN (Substitution Permutation Network) cryptography algorithm in Python. The code defines functions for an S-Box, P-Box, and the SPN algorithm itself. The S-Box takes an integer between 0 and 15 as input and returns the output after applying a specific substitution. The P-Box takes an integer between 0 and 15 as input and returns the output after applying a specific permutation. The SPN class uses the S-Box and P-Box functions to encrypt a given input and produce the encrypted output. The class also implements intermediate calculations, such as calculating the intermediate values U, V, W, and Y, and updating the round keys. The code provides a comprehensive implementation of the SPN algorithm and can be used to study the functioning of the algorithm and its security.
Code in github: https://github.com/VaggelisGkoumas1996/Differential-Cryptanalysis-using-Python-3/blob/main/diffrential%20cryptanalysis.py
Video Information
Views
167
Total views since publication
Likes
1
User likes and reactions
Duration
1:01
Video length
Published
Jan 31, 2023
Release date
Quality
hd
Video definition