Skip to content

ismaelvb/javascript-string-obfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript String Obfuscator

Use this module to convert strings to the equivalent Javascript expression that evaluate to the same strings. The generated expressions only use characters from the list [(){}[]+!] These syntatic characters are enough to create some words. The available characters are abcdefijlnorstuO []

example

You can use it directly after import to convert a string.

obf = require("javascript-string-obfuscator");

console.log(obf("obfuscator"));

// (([]+{})[-~[]]+([]+{})[-~-~[]]+([]+![])[+[]]+([]+[][[]])[+[]]+([]+![])[-~-~-~[]]+([]+![]+{})[-~[]+[+[]]]+([]+![])[-~[]]+([]+!+![])[+[]]+([]+{})[-~[]]+([]+!+![])[-~[]])

Licenced under MIT licence, free of charge.

(c) 2015 - Ismael Vilas Boas

About

Javascript library for encoding strings into JS expressions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors