Versions in this module Expand all Collapse all v1 v1.0.0 Jan 16, 2021 Changes in this version + const LetterIdxBits + const LetterIdxMask + const LetterIdxMax + var LetterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" + var StampLength int64 = 12 + func AESCbcDecrypter(key, iv, ciphertext string) ([]byte, error) + func AESCbcEncrypter(key, iv, s string) (string, error) + func CreateNewClientID(email string) string + func GenerateAccessToken(clientID, secreteKeyID string, expire int) (string, error) + func GenerateRandomStringFixedLenght(length, timestamp int64) string + func GenerateSecretKey(email, clientID, password string, expire int) (string, error) + func GenerateSecurePassword(password string) (string, error) + func ValidateAccessToken(token string) (string, bool, error) + func ValidateAccessTokenFunc(token string) (json.RawMessage, bool) + func ValidateSecretKey(secretKey string) (bool, error) + func ValidateSecurePassword(password, hash string) (bool, error)