A simple text obfuscator using a randomized rotation-based letter-substitution cipher
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
ObfusChat.js
README.md
test.html
test.js

README.md

ObfusChat

A simple text obfuscator using a randomized rotation-based letter-substitution cipher.

Functions:

obfuscate: obfuscates text based on an optional seed number
obfusChat.obfuscate(input, [seed])

deobfuscate: alias for obfuscate
obfusChat.deobfuscate(input, [seed])

Usage:

To obfuscate text:

var optionalSeed = 1234;
var output = obfusChat.obfuscate("input text", optionalSeed);
//output is "~^)3@C'bMp"

To deobfuscate text, pass the obfuscated text in to the function with the >original >seed.

var optionalSeed = 1234;
var output = obfusChat.obfuscate("~^)3@C'bMp", optionalSeed);
//output is "input text"