Versions in this module Expand all Collapse all v1 v1.0.0 Jul 30, 2025 Changes in this version + func Base64Decode(text string) string + func Base64Encode(text string) string + func ConvertToJsonSingleLine(input string) (string, error) + func CurrentUnixTime(useUtc bool) int64 + func DeriveKeyFromPassword(password, email string, kdfConfig map[string]int) []byte + func Distinct(input []string) []string + func DoubleSha256(data []byte) []byte + func FormatInt(n int) string + func FormatInt64(n int64) string + func FromBufferToB64(data []byte) string + func FromUtf8ToBytes(str string) []byte + func GenerateOAuth2Params(length int) (state, codeVerifier, codeChallenge string, err error) + func GeneratePKCEPair() (codeVerifier string, codeChallenge string) + func GenerateRandomHex(length int) (string, error) + func GetCurrentISO8601Datetime() string + func GetRandomChromeProfile() (string, profiles.ClientProfile) + func GetRandomDesktopProfile() (string, profiles.ClientProfile) + func GetRandomIOSProfile() (string, profiles.ClientProfile) + func GetRandomProfile() (string, profiles.ClientProfile) + func GetValuesByKey(jsonStr, path string) []string + func HMAC(key, input string, hashType crypto.Hash, b64 bool) string + func Hash(input string, hasher hash.Hash) string + func HashMasterKey(password string, key []byte) string + func InitTLS(proxy string, timeout int, profile profiles.ClientProfile) tls_client.HttpClient + func InitTLSOF(proxy string, timeout int, profile profiles.ClientProfile) tls_client.HttpClient + func InitTLSProxyless(timeout int, profile profiles.ClientProfile) tls_client.HttpClient + func InitTLSSkipVerify(proxy string, timeout int, profile profiles.ClientProfile) tls_client.HttpClient + func JSON(source, field string, recursion bool) []string + func JToken(JSON, jToken string, recursive bool) []string + func JsonParserGetValuesByKey(data interface{}, keys []string) []string + func LR(source, left, right string, recursion bool) []string + func MakeMasterKey(password, email string, kdfConfig map[string]int) []byte + func MakePreloginKey(masterPassword, email string, iterations int) []byte + func MakeRequest(TLS tls_client.HttpClient, uri, content, method string, headers http.Header) (*http.Response, error) + func MakeRequestCookies(TLS tls_client.HttpClient, url, content, method string, headers http.Header, ...) (http.Response, error) + func PBKDF2(password, salt []byte, algorithm string, iterations int) []byte + func PBKDF2Hash(credentials map[string]string, iterations int) string + func ParseProxyFasthttp(proxy string) string + func ParseProxyTLS(proxy string) string + func QueryJsonToken(jsonStr, jToken, prefix, suffix string, urlEncodeOutput bool) string + func RSAEncrypt(data, modulus, exponent string) (string, error) + func RandomAndroidUserAgent() string + func RandomString(input string) string + func RandomUserAgent() string + func RegexParse(input, pattern, outputFormat string, multiline bool) ([]string, error) + func RemoveCookieByName(cookies []*http.Cookie, namesToRemove ...string) []*http.Cookie + func RemoveElement(s []string, r string) []string + func ReverseString(s string) string + func SHA1(input string) string + func SHA256(input string) string + func SolveFunCaptcha(siteUrl, siteKey, subdomainHost, capKey string) (string, error) + func SolveHCaptcha(siteKey, siteUrl string, isInvisible bool, userAgent, capKey string) (string, error) + func SolveImageCaptcha(imageData, capKey string) (string, error) + func SolveRecaptchaV2(siteKey, siteUrl string, isInvisible, isEnterprise bool, ...) (string, error) + func SolveRecaptchaV2EnterpriseNextCaptcha(siteKey, siteUrl string, isInvisible bool, ...) (string, error) + func SolveRecaptchaV3(siteKey, siteUrl, siteAction string, isInvisible, isEnterprise bool, ...) (string, error) + func SolveTurnstile(siteKey, siteUrl, capKey string) (string, error) + func UnixTimeToDate(timestamp int64, format string) string + func Zip(a, b []string, format string) ([]string, error)