-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhTools.go
30 lines (26 loc) · 846 Bytes
/
whTools.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package whTools
import (
"github.com/chinaDL/whTools/crypto"
"github.com/chinaDL/whTools/encoding"
"github.com/chinaDL/whTools/hash"
"github.com/chinaDL/whTools/network/ip"
"github.com/chinaDL/whTools/text/gstr/v2"
"github.com/chinaDL/whTools/text/match"
"github.com/chinaDL/whTools/tools/terminal"
)
var (
Encode = encoding.NewEncode()
Decode = encoding.NewDecode()
Hash = hash.NewHash()
Encrypt = crypto.NewEncrypt()
Decrypt = crypto.NewDecrypt()
PaddingType crypto.PaddingType
ModeType crypto.ModeType
NewTerminal = terminal.NewTerminal
DictGenerateForMask = v2.NewDictGenerateForMask
IPContainer = ip.NewIPContainer
StringMatch = match.NewMatch()
)
func NewCipher() *crypto.Cipher {
return crypto.NewCipher()
}