Science Fair Projects

The Effect of Algorithm Type and Plaintext Length on Encryption, Decryption, and Force-Cracking Times


The objective: The objective of this project was to find, with a method of scoring, which encryption algorithm was the "best."


Using REALbasic and C++, I wrote an implementation of each algorithm (RSA, Blowfish, and IDEA) and timed the number of milliseconds that it took to encrypt and decrypt a varying amount of data. I calculated the estimated time to force-crack, and awarded points to the quickest and strongest algorithms, where the best algorithm was the one with the most points.


IDEA, which was the slowest algorithm, accumulated the most points, probably because it was strongest. RSA, second most seure and second quickest, almost beat IDEA because of speed, but did not win because of the weight of not being strongest. Blowfish, which was the least secure, but most likely the quickest algorithm, got the least amount of points.


There was a lot of differentiation among the speeds of each algorithm. IDEA had times of over 600ms, while Blowfish had times around 4ms. Each algorithm was very secure and relatively speedy. I doubt that IDEA, the most secure out of the algorithms I tested with over 2.4· 10^40 years to force crack, is even the most secure algorithm that has been developed. If I were to design an encryption algorithm, I would combine the speed of Blowfish with the strength of IDEA.

This Mathematical project is to see which encryption algorithm compared the best, where the best algorithm is the quickest and strongest, isolating factors such as length of plaintext.

Science Fair Project done By Aaron P. Gallagher


Related Projects : The Impact of a Player's Starting Location in the Game of Risk, Chess Algorithms, Cracking the Code, Turbo Charging Computer with Mathematical Algorithms, The Random Fibonacci Sequence , A. I. Connect-Four, How to Win at Yahtzee, Examining File Compression in Computers, Statistics and M&Ms, Exploring Rule Variations in Conway's Game of Life, Some Reasons a Computer Slows Down, Environmental Impact of Manipulation of Traffic Controller Algorithms


<<Back To Topics Page........................................................................................>> Next Topic



Copyright © 2013 through 2015