Open Access
An Investigation Into the Mathematics of Decryption Techniques in RSA Encryption, With an Implementation in Python
Author(s) -
Sofia Flynn
Publication year - 2021
Language(s) - English
DOI - 10.48091/gsr.v1i2.18
Subject(s) - python (programming language) , encryption , computer science , key (lock) , logarithm , theoretical computer science , arithmetic , algorithm , mathematics , computer security , programming language , mathematical analysis
This study explores the mathematics of two different techniques that can be used to access the decryption key in RSA encryption including semi-prime factorization and a logarithmic method. The study then presents a Python program, written by the author, that automates the calculations for either of the decryption techniques and also calculates the number of iterations required to determine the decryption key in either circumstance. Most importantly, the program utilizes only values of the RSA encryption algorithm that would be made publicly available in actual circumstances to calculate the decryption key so as to mimic real-life occurrences with as much integrity and accuracy as possible.