Documentation ¶
Index ¶
- Variables
- func GenAll(length uint) string
- func GenLower(length uint) string
- func GenNumber(length uint) string
- func GenQRCode(content string, size int)
- func GenSymbol(length uint) string
- func GenUpper(length uint) string
- func GeneratePassword(length, minLower, minUpper, minSymbol, minNumber uint) string
- func NewOTP(account, issuer string) (string, error)
- func ReadQRCode(filename string) string
- type Decrypt
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Digits6 [2]int = [2]int{6, 1000000} Digits8 [2]int = [2]int{8, 100000000} Digits = Digits6 OTP otp )
View Source
var Cost int = 15
View Source
var Encrypt encrypt
View Source
var Hash hashs
Functions ¶
func GeneratePassword ¶
func ReadQRCode ¶ added in v0.3.1
Types ¶
Click to show internal directories.
Click to hide internal directories.