Coders Packet

Password Encryption using C++

By Tanmay Ahuja

A project to encrypt a Password in 2 modes either Simple encryption or Advanced Encryption using C++

A project to encrypt a Password in 2 modes either Simple encryption or Advanced Encryption using C++. A user needs to enter the password in Alphanumeric format for the encryption process i.e. (0-9, A-Z,a-z).

In Simple encryption mode we use the following conversion:

encrypted_password=password+12

 

In Advanced encryption mode we use the following conversion:

In advanced encryption, we go through 3 stages of encryption

aux_password[i]=password[i]+7;
encrypted_password[2*i+1]=aux_password[i];
encrypted_password[2*i]=i+189;
final_encryption[i]=encrypted_password[i];

 

The below images show the output of the project in both modes

Simple Encryption:

Advanced Encryption:

Download project

Reviews Report

Submitted by Tanmay Ahuja (tanmay140)

Download packets of source code on Coders Packet