Skip to content

SpectreH/hunter-js-obfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hunter - Go Javascript Obfuscator

This package is a Hunter Obfuscator written in Go to protect your JavaScript source code with the simplest and fastest way.

Installation

go get github.com/spectreh/hunter-js-obfuscator

Usage

import "github.com/spectreh/hunter-js-obfuscator"

rand.Seed(time.Now().UnixNano())

code := "alert('hello');"

obf := NewObfuscator(code)
obfuscatedCode := obf.Obfuscate()

Additional information

Only standard go packages were in use.

Author

License

This package is licensed under MIT license.