Monday, January 27, 2020


RSA Algorithm encryption and authentication system

Introduction

In this article's project, Image Cryptography concepts are used. This project is made in Visual Studio 2010 C#.NET platform. Now a days, Privacy & Security issues of the transmitted data is an important concern in multimedia technology, so this project understands how encryption and decryption happens?
In this project, cryptography gets used to hide images. In this, RSA (Ron Rivest, Adi Shamir, and Leonard Adleman ) algorithms are used.

Encryption Process




Decryption Process


 

The Main Concepts

In this project, Image takes as input, in properties section, image properties are shown, like file name, image resolution, image size. After loading image, HEX function extracts the image HEX code, HEX code is converted into cipher text depending on RSA settings. An opposite, Cipher text gets loaded, then apply RSA algorithm, then decipher the text, resultant string is converted into image.
This project has three class files:
1. RSAalgorithm.cs
In this class file, RSA algorithm related functions are available like calculating phi, n, square, and modulus. RSA algorithm is step in this project to encrypt and decrypt images. This algorithm encrypts and decrypts the images, i.e., each frame gets encrypted and decrypted.
2. library.cs
In this class file, hex decoding, checking prime number, byte to image conversion, image to byte conversion, vice versa are available. Library is used for basic conversion, processing and decoding Hex values, byte array to image conversion, and opposite as well, i.e. image to byte array conversion.


Flow Chart for Encryption and Decryption

The above flow chart shows how the project in this article works. The flow chart explains in a step by step manner the processing of the encryption and decryption, using C#. In this project, we only consider the images not audio. Images are encrypted, and create the *.txt file, the same file is used for decryption.



Hardware And Software Requirement

Hardware Requirement

                   Pentium I5 3.0GHz  or above
                   4GB RAM or higher
                   500GB HARD DISK
Color Monitor, Keyboard, Mouse


Software Requirement

Operating System : Microsoft Windows 10 or Windows 8
Front End : Visual C Sharp (C#)
Back End : SQL Server 2008


REFERENCE



1.   C# 4.0 in a Nutshell - Orelly Publication
2.   C# in Depth, Second Edition  by Jon Skeet
3.   Head First C#, 2E: by Andrew Stellman
4.   www.csharp-station.com
5.   www.programmersheaven.com
6.   www.functionx.com/csharp



No comments:

Post a Comment

PHP 8 new features and advantages? PHP interview question and answer ser...

PHP Interview Questions You Must Prepare in 2021 PHP Question and Answers In this series we will bring you question and answers. Which defin...