Versions in this module Expand all Collapse all v0 v0.0.0 May 22, 2023 Changes in this version + func Base64Decode(in []byte) (out []byte, err error) + func Base64Encode(in []byte) (out []byte) + func Deobfuscate(input []byte, chain []Obfuscator) (out []byte, err error) + func Obfuscate(input []byte, chain []Obfuscator) (out []byte, err error) + func ParseObfuscators(obfConfigs *[]ObfuscatorConfig) (chain *[]Obfuscator, failures []string) + func UnparseObfuscators(obfs *[]Obfuscator) *[]ObfuscatorConfig + type AES struct + Key string + func (a *AES) ByteKey() []byte + func (a *AES) Deobfuscate(input []byte) (output []byte, err error) + func (a *AES) Obfuscate(input []byte) (output []byte, err error) + type Base64 struct + Rounds uint + func (b *Base64) Deobfuscate(input []byte) (output []byte, err error) + func (b *Base64) Obfuscate(input []byte) (output []byte, err error) + type Blowfish struct + Key string + Salt string + func (b *Blowfish) ByteKey() []byte + func (b *Blowfish) ByteSalt() []byte + func (b *Blowfish) Deobfuscate(input []byte) (output []byte, err error) + func (b *Blowfish) Obfuscate(input []byte) (output []byte, err error) + type Obfuscator interface + Deobfuscate func(input []byte) (output []byte, err error) + Obfuscate func(input []byte) (output []byte, err error) + func MapToAlgorithm(name string) (o Obfuscator, ok bool) + type ObfuscatorConfig struct + Algo string + Config map[string]interface{} + type Twofish struct + Key string + func (t *Twofish) ByteKey() []byte + func (t *Twofish) Deobfuscate(input []byte) (output []byte, err error) + func (t *Twofish) Obfuscate(input []byte) (output []byte, err error) + type XOR struct + Key string + func (x *XOR) ByteKey() []byte + func (x *XOR) Deobfuscate(input []byte) (output []byte, err error) + func (x *XOR) Obfuscate(input []byte) (output []byte, err error)