Skip to content

Dimitvp/CSharpAdvancedProject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

CSharpAdvancedProject - Encryption algorithm

What is the project about?


The project is encrypting algorithm made with the idea to serve as back up encryption. What this means is that it is used before the main algorithm for encrypting data is used in order to make the life of a hacker into a living hell.

How did we achieved our goal?


The algorithm uses a sequence to mess up the text. The sequence represents certain order in which different methods are invoked. The sequence determines what the algorithm will do and how hell it will do it. Changing the sequence changes the algorithm to a level it is imposible to compare one version with another. This means that if you download it and change the sequence you will have your own version which no one else will have. By doing this, you will make it impossible for a hacker to hack it, since he/she would have no ide how the text was encrypted, as long as he/she doesn't have access to your server. If they do - you are doomed anyway since every encryption is made to be decrypted and if they have access and know all of the keys and algorithms - you stand no chance in protecting your data.

The team:

Павлин Петков (github: https://github.com/fiher )

Contribution:

Made most of the code and also responsible for the idea

Кристиян Памидов (github: https://github.com/ChrisPam )

Contribution:

Made one of the cyphers and decyphers.

How to run it?

After download you want to go to EncryptionAlgorithm->Program.cs and hit CTRL + F5 . If you want to change the way the algorithm works you need to go to EncryptionAlgorithm->Encryption.cs. There you will find private variable sequence containing numbers from 0 to 5 represented as a long string. You can change it anyway you want as long as you follow these rules:
  • It must contain only numbers from 0 to 5 and nothing else!
  • Don't use the number 2 more than twice as it is used to insert things into the text and make it bigger
  • Don't forget to copy it at the end and go to EncryptionAlgorithm->Decryption.cs to paste it there as the two sequences must be identical
If those rules are followed the code must run correctly.

Bear in mind that you can change the secretKey variable as well, but also you have to remember to paste it in the Decryption class, as both classes must have identical private variables to run correctly!

About

"Group" project for the course "C# Advanced"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C# 100.0%