Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v1.2.0
type Config struct {
Aes aes.AesConfig `yaml:"aes" json:"aes"` // AES加密核心配置
Hash hash.HashConfig `yaml:"hash" json:"hash"` // HASH加密核心配置
KeyPath string `yaml:"key_path" json:"key_path"`
}
Config 密码配置对象
type HttpServerInfo ¶ added in v1.2.7
type HttpServerInfo struct {
Host string `json:"host"`
Port int `json:"port"`
Username string `json:"username"`
Password string `json:"password"`
Email string `json:"email"`
Role int `json:"role"`
IsSsl bool `json:"is_ssl"`
Data map[string]interface{} `json:"data"`
}
HttpServerInfo HTTP服务信息
type Password ¶ added in v1.1.2
type Password struct {
Config *Config // 配置对象
Aes *aes.Aes // AES加密核心对象
Hash *hash.Hash // HASH加密核心对象
Url *zurl.Url // URL编码解码核心对象
Hex *hex.Hex // 十六进制编码解码
BytesMap map[string][]byte // 用于存放bytes数组的字典
}
Password 密码加密核心对象
func NewWithConfig ¶ added in v1.2.3
NewWithConfig 创建加密对象
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
aes_dump_load
command
|
|
|
aes_dump_load_http_info
command
|
|
|
aes_dump_load_update
command
|
|
|
aes_load_update_fs
command
|
|
|
z01_hash
command
|
|
|
z02_aes
command
|
|
|
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0.
|
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0. |
Click to show internal directories.
Click to hide internal directories.