Skip to main content

CrAlSim: A Cryptography Algorithm Simulator

Page 1

International Research Journal of Engineering and Technology (IRJET)

e-ISSN: 2395-0056

Volume: 10 Issue: 04 | Apr 2023

p-ISSN: 2395-0072

www.irjet.net

CrAlSim: A Cryptography Algorithm Simulator Avinash Singh1, Swapnil Mane2, Mihir Bist3, Samuel Jacob4 1B.E. Information Technology, Dept. of Information Technology, Vidyalankar Institute of Technology, Maharashtra,

India

2 B.E. Information Technology, Dept. of Information Technology, Vidyalankar Institute of Technology,

Maharashtra,India

3B.E. Information Technology, Dept. of Information Technology, Vidyalankar Institute of Technology, Maharashtra,

India

4Professor, Dept. of InformationTechnology, Vidyalankar Institute of Technology, Maharashtra, India

---------------------------------------------------------------------***---------------------------------------------------------------------Abstract- Encryption algorithms are an essential part of working with all the components running over every input

character is much better than 500 pages of algorithm in theory mode of a published author. As most students face this issue after reaching their second year in IT or Computer branch, they are the target audience of this website. Encryption algorithms are very essential to be learnt in the current era, as malicious users most often are looking for unsecured data streams over the internet. If any attacks are launched, it can prove to be hazardous if sensitive data is revealed, and Government information, data related to financial sectors and other critical data can be leaked to foreign parties if it isn’t encrypted properly. Hence these encryption algorithms need to be studied, and can be better studied by trainee engineers or IT students if they learn it via a visualization tool which will enhance their perception of all stages happening in the code of certain algorithms [9]. Such a tool is CrAlSim which provides a simulator for essential cryptographic algorithms.

Information Security, as they safeguard the messages sent between users, and also protect the integrity and confidentiality of the system. For students to understand the internal working of complex algorithms, it’s requisite that they don’t mug up the steps happening in the cipher, but rather will learn better if it happens to be a graphical visualization of every event happening in the algorithm. This paper describes working of cryptographic algorithm simulation system. CrAlSim is based on matrix formation, stepwise color-based value change in code of the crypto algorithms, highlighted by each function showing the calculation right from the first to last step of encryption. The system created highlights how based on user inputs for a plain message or a key wherever required, how the actual inside conversions happen in an algorithm which led to the encryptions, be it a simple monoalphabetic cipher like Affine or block cipher like AES (Advance Encryption Standard). The encryption functions adjusted with the simulations are programmed in JavaScript, and simply HTML and CSS are used to display the web elements and styling, so understanding the source code even for creating of other algorithm visualization systems is comprehensible and apprehensible for a normal user. This paper elaborates the mechanism of CrAlSim and discusses the results obtained using it.

1.1 Simulation Process Visualization of algorithms is done using simple functions which target over the events which can be made graphical as so students or any user perceives those events in motion pictures or color highlights and hence better representation of various operational fields of code can be shown. First step is selection of cipher as in which category of the algorithm needs to be visualized. For a single word string, monoalphabetic ciphers such as Affine are useful as their encryption can be based on just a certain length and for a block of letters; AES (Advanced Encryption Standard) cipher can be chosen. User then needs to input the proper type of the plain text message, as certain criteria is set for certain ciphers based on length of string, or it’s standard language used. Then the key is selected, or generated as per conditions, as RSA needs very high values for proper security. Encryption and decryption buttons should be used to generate cipher text or decipher plain message. Note must be made of the special instructions in the process, explaining as in which kind of key to select, or what conversions are happening. Then controlling the flow of simulation using the start, play, pause or reset buttons.

Key Words: Simulator; Encryption; Decryption; AES; Affine; RSA; Peer to peer message confidentiality; Algorithm simulation.

1. INTRODUCTION Nowadays, students often face the dilemma of choosing whether to take up security as one of their core domains. Since most students seem to face the problem in understanding various ciphers, they never chose to look further on how security works more than just simple cipher exchanging acknowledgement requests in SSL of presentation layer [1]. So, every IT student needs an easier guide to comprehend ciphers, be it of various types in an easy format. Since a picture is worth a thousand words, a step visualization simulation for demonstrating a cipher

© 2023, IRJET

|

Impact Factor value: 8.226

|

ISO 9001:2008 Certified Journal

|

Page 591


Turn static files into dynamic content formats.

Create a flipbook
CrAlSim: A Cryptography Algorithm Simulator by IRJET Journal - Issuu