Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 618 Bytes

File metadata and controls

31 lines (20 loc) · 618 Bytes

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.