Skip to content

Dhanajayan/simple-encryption

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Simple Encryption

Simple encryption in Java

SWAP 1 - Splitting the input string into two and swapping

    Input : ABCDEFGHIJKLMNOPQRSTUVWXYZ
    Output: NOPQRSTUVWXYZABCDEFGHIJKLM

SWAP 2 - Swapping first two chars with last two chars

    Input : NOPQRSTUVWXYZABCDEFGHIJKLM
    Output: LMPQRSTUVWXYZABCDEFGHIJKNO

SWAP 3 - Swapping the chars in the middle

    Input : LMPQRSTUVWXYZABCDEFGHIJKNO
    Output: LMPQRSTUVWXABYZCDEFGHIJKNO

Character substitution table

   A  - @
   E  - =
   I  - !
   J  - ?
   O  - *
   P  - #
   R  - &
   S  - $
   T  - +
   V  - ^
   X  - %

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published