Skip to content

Encripdrador is a tool to encrypt and decrypt passwords based on Andrade's cryptography.

Notifications You must be signed in to change notification settings

gabriel-andrad3/encripdrador

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

encripdrador

Encripdrador is a tool to encrypt and decrypt passwords based on Andrade's cryptography.

The key point in this cryptography is to be easy enough to the password owner revert mentally, and hard enough to a curious that access the password don't be able to understand.

How Andrade's cryptography works?

🔒 Encryption

The letters are alternaly decreased and increased following the ASCII table:
The 1° letter is decreased
The 2° letter is increased
The 3° letter is decreased
The 4° letter is increased
...

Example

For this password input: AndraDez&*2904

The password output is: ZocszEda&*1095

Note that in this encryption, 4 special cases happened:

  • DSC 1
  • ISC 2
  • ISC 3
  • DSC 3

🔓 Decryption

We do the opposite flow:
The letters are alternaly increased and decreased following the ASCII table:
The 1° letter is increased
The 2° letter is decreased
The 3° letter is increased
The 4° letter is decreased
...

Example

For this password input: ZocszEda&*1095

The password output is: AndraDez&*2904

Note that in this encryption, 4 special cases happened:

  • ISC 1
  • DSC 2
  • DSC 3
  • ISC 3

📏 Rules

  • Uppercase letters are maintained uppercase
  • Undercase letters are maintained undercase
  • Symbols (@, #, $, %, !, ~, etc) are kept the same
  • Symbols are not consider in the count to decrease and increase

🌟 Special cases

Increasing Special Cases (ISC):

  1. Z -> A
  2. z -> a
  3. 9 -> 0

Decreasing Special Cases (DSC):

  1. A -> Z
  2. a -> z
  3. 0 -> 9

🔧 Technologies

🏃‍♂️ How to run

# Clone the repository
$ git clone https://github.com/gabriel-andrad3/encripdrador.git

# Access the project folder
$ cd encripdrador

# Install the dependencies
$ npm install

# Run the application in development mode
$ npm run dev

# The server will start at port:3333 - access http://localhost:3333

About

Encripdrador is a tool to encrypt and decrypt passwords based on Andrade's cryptography.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published