peter-yeh / encoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encoder

Encode

Takes in string, generate a random key and use it as a offset to the characters.

The key is appended to the first character of the string.

e.g. 'HELLO WORLD' -> 'BGDKKN VNQKC'

Decode

Takes in the encoded text, where the first character is the key.

e.g. 'BGDKKN VNQKC' -> 'HELLO WORLD', the key is 'B'

About


Languages

Language:Java 100.0%