Versions in this module Expand all Collapse all v0 v0.5.0 Mar 14, 2026 Changes in this version + func GenerateRandom(randomType Type) (string, error) + func GenerateRandomLength(length int, randomType Type) (string, error) + func GetTest2() string + func HashPass(password, salt []byte, iter, keyLen int) []byte + func HashPassScrypt(password, salt []byte, workFactor, blockSize, parallelismFactor, keyLen int) (string, error) + func PSQL() sq.StatementBuilderType + func PSQL1() sq1.StatementBuilderType + type Characters string + const PasswordCharacters + const SaltCharacters + const UsernameCharacters + type Length int + const PasswordLength + const SaltLength + const UsernameLength + type MyUtils struct + GetTest1 func() string + Test string + func (m *MyUtils) GetDay(t int64) string + func (m *MyUtils) GetNextSalt() ([]byte, error) + func (m *MyUtils) GetTest() string + func (m *MyUtils) GetTime() int64 + func (m *MyUtils) GetTime1Day() int64 + func (m *MyUtils) GetYear() int + type Type int + const GeneratePassword + const GenerateSalt + const GenerateUsername