features

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var All = []rune{
	'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
	'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
	'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
	'/', '{', '}', '_', '-', '.', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '=', '+', '[', ']', '\\', '|', ';', ':', '\'', '"', '<', '>', ',', '?', '`', '~',
}
View Source
var Char = []rune{
	'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
	'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
}
View Source
var CharUpper = []rune{
	'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
}
View Source
var Charlower = []rune{
	'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
}
View Source
var Num = []rune{
	'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
}
View Source
var Special = []rune{
	'/', '{', '}', '_', '-', '.', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '=', '+', '[', ']', '\\', '|', ';', ':', '\'', '"', '<', '>', ',', '?', '`', '~',
}

Functions

func CalcMd5

func CalcMd5(data string) string

func CalcSHA1

func CalcSHA1(data string) string

func CalcSHA256

func CalcSHA256(data string) string

func CalcSHA512

func CalcSHA512(data string) string

func Itertools

func Itertools(prefix_length int, char []rune) []string

func SingleLine

func SingleLine(data string) string

func ZipFile

func ZipFile(destinationZip string, sourceFile ...File) error

Types

type File

type File struct {
	Name string
	Body string
}

Jump to

Keyboard shortcuts

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