utils

package
v0.0.0-...-c5919bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Adler32sum

func Adler32sum(input string) string

func Base64Decode

func Base64Decode(str string) string

func Base64DecodeRaw

func Base64DecodeRaw(str string) []byte

func Base64Encode

func Base64Encode(str string) string

func Base64EncodeRaw

func Base64EncodeRaw(str []byte) string

func FilenameDeobfuscator

func FilenameDeobfuscator(path string, ext string) string

func FilenameObfuscator

func FilenameObfuscator(path, ext string) string

func GetAlternateDNSStrs

func GetAlternateDNSStrs(alternateDNS []interface{}) ([]string, error)

func GetNetIPs

func GetNetIPs(ips []interface{}) ([]net.IP, error)

func NetIp

func NetIp(ipString string) net.IP

func RegexFind

func RegexFind(regex string, s string) string

func RegexFindAll

func RegexFindAll(regex string, s string, n int) []string

func RegexMatch

func RegexMatch(regex string, s string) bool

func RegexReplaceAll

func RegexReplaceAll(regex string, s string, repl string) string

func RegexReplaceAllLiteral

func RegexReplaceAllLiteral(regex string, s string, repl string) string

func RegexSplit

func RegexSplit(regex string, s string, n int) []string

func Sha1sum

func Sha1sum(input string) string

func Sha256sum

func Sha256sum(input string) string

func Uuidv4

func Uuidv4() string

Types

type DSAKeyFormat

type DSAKeyFormat struct {
	Version       int
	P, Q, G, Y, X *big.Int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL