Improving the key generation process of the RSA algorithm

dc.contributor.author Namanya, Daniel
dc.date.accessioned 2023-05-31T11:02:35Z
dc.date.available 2023-05-31T11:02:35Z
dc.date.issued 2021-11-15
dc.description A RESEARCH DISSERTATION SUBMITTED TO THE HIGHER DEGREES COMMITTEE IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE AWARD OF THE DEGREE OF MSC. IN COMPUTER SCIENCE OPTION: Computer Security en_US
dc.description.abstract RSA Algorithm is the mostly used public key cryptography and the demand for a better security is one of the challenges faced to continue the reliance of the users. RSA is a well- known cryptosystem which supports data security by use of data encryption without necessarily having users to share their private keys with one another. It works on the base of multiplication of two prime numbers. Currently, different kinds of attacks have been identified against RSA by cryptanalysis, which come as a result of the random selection of small prime numbers during the key generation process of the RSA key pair. The study specifically focused on improving the RSA algorithm during key generation process and it was guided by different objectives which included to identify the weaknesses in the use of the RSA algorithm for data security such as random selection of prime numbers to be used in the encryption key generation process, to build an improved procedure for generating a key in RSA algorithm and to test the strength of the new improved key generation algorithm. In an attempt to contribute in the fixing one of the security gaps identified within the working of RSA, a quantitative research study was conducted. A Primality test that provides a faster method for excluding a number was conducted using Fermat’s little theorem . The theorem states that for a prime integer p and 1 a p, then ap􀀀1 1 (mod p). In this study, cryptool was adopted to analyse the RSA cryptosystem without FLT implementation and RSA cryptosystem with FLT implementation. The results from the cryptool were used to identify the difference in the public key generation and in factorization of the modulus in both simulations. The study findings showed that the modified RSA Algorithm with implementation of FLT, mersenne primes, checking of the bit length with logarithmic and prime number theorem approaches, compared to the original RSA Algorithm, is better in terms of security. This was based on the fact that, the modification of RSA Algorithm utilized exclusively large prime numbers in generating modulo n to improve the security against factorization attack. It was important to affirm that this cryptographic system, ensures that security is guaranteed by implementing a robust number theorem that exclusively generates large prime numbers. The study recommended that, in addition to Fermat’s little theorem, Miller–Rabin primality test should also be applied in RSA cryptosystem due to the existence of Carmichael number which can pass a Fermat primality test. en_US
dc.identifier.citation Namanya, D. (2021). Improving the key generation process of the RSA algorithm. Kampala: Makerere University en_US
dc.identifier.uri http://hdl.handle.net/10570/11997
dc.language.iso en en_US
dc.publisher Makerere University en_US
dc.subject RSA algorithm en_US
dc.subject Encryption en_US
dc.title Improving the key generation process of the RSA algorithm en_US
dc.type Thesis en_US
Files