Beginner to Advanced CTF: Day 11 - Understanding the RSA Algorithm with Python
In this episode of the Beginner to Advanced CTF series, Cyber Teach 360 explores the RSA Algorithm through Python code. Join us as we break down the concepts step by step, making it accessible for learners at all levels.

InfoSec BD
3.9K views β’ Jan 22, 2021

About this video
Hey , guys Cyber teach 360 back again with Beginner To Advance CTF New Series .In this series We will learn about CTF step by step . This Series is so Friendly for Beginner . I hope you will learn more about CTF via this Series .
------------------------- RSA Algorithm Via Python Code --------------------------------------------
In this video, we explained RSA and Proved this Algorithm Via Python Code.
RSA (Rivest Shamir Adleman) is an algorithm used by modern computers to encrypt and decrypt messages. It is an asymmetric cryptographic algorithm.
Python Code :
from Crypto.Util.number import inverse
p = 61
q = 53
m = int(input("Enter value of m : "))
n = p * q
phi =(p-1)*(q-1)
e = 17
d = inverse(e,phi)
print("value of d :"+ str(d))
c = pow(m,e,n)
print("value of c :"+ str(c))
m =pow(c,d,n)
print("vlaue of m : "+ str(m))
-----------------------------------------------------------------------------------
#RSA
#RSA Algorithm
#CTF For Beginner
#CTF
#Beginner To Advance CTF
#CTF For Beginner Bangla
#What is CTF
#Cryptography
#Cryptography In practical
RSA Algorithm Theory:https://youtu.be/Rk4qRUBM8q8
β Follow Us π
πFacebook: https://www.facebook.com/foysalahammad.farabi
πTwitter: https://twitter.com/cyberteach3601
πGithub: https://github.com/cyberteach360
β Facebook Helping Group:https://www.facebook.com/groups/cyberbanglalive
π Facebook Page Link:https://www.facebook.com/cyberbanglaofficial21
π Thank you!!! π
------------------------- RSA Algorithm Via Python Code --------------------------------------------
In this video, we explained RSA and Proved this Algorithm Via Python Code.
RSA (Rivest Shamir Adleman) is an algorithm used by modern computers to encrypt and decrypt messages. It is an asymmetric cryptographic algorithm.
Python Code :
from Crypto.Util.number import inverse
p = 61
q = 53
m = int(input("Enter value of m : "))
n = p * q
phi =(p-1)*(q-1)
e = 17
d = inverse(e,phi)
print("value of d :"+ str(d))
c = pow(m,e,n)
print("value of c :"+ str(c))
m =pow(c,d,n)
print("vlaue of m : "+ str(m))
-----------------------------------------------------------------------------------
#RSA
#RSA Algorithm
#CTF For Beginner
#CTF
#Beginner To Advance CTF
#CTF For Beginner Bangla
#What is CTF
#Cryptography
#Cryptography In practical
RSA Algorithm Theory:https://youtu.be/Rk4qRUBM8q8
β Follow Us π
πFacebook: https://www.facebook.com/foysalahammad.farabi
πTwitter: https://twitter.com/cyberteach3601
πGithub: https://github.com/cyberteach360
β Facebook Helping Group:https://www.facebook.com/groups/cyberbanglalive
π Facebook Page Link:https://www.facebook.com/cyberbanglaofficial21
π Thank you!!! π
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
3.9K
Likes
70
Duration
6:09
Published
Jan 22, 2021
User Reviews
4.6
(3) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.