Documentation ¶
Index ¶
- Variables
- func AbsolutePath(path string) string
- func Adler32(src string) string
- func ComparePassword(inputPass, hashedPass string) (bool, error)
- func EntityHash(name, url string) string
- func EntityHashPlusString(name string) string
- func HashPassword(pass string) (string, error)
- func RandomByteSlice(n uint32) ([]byte, error)
- func RandomCryptoString(n int) (string, error)
- func RandomString(n int) string
- func WorkingDirectoryPath(p string) string
- type Argon2Params
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidHash = errors.New("the encoded hash is not in the correct format") ErrIncompatibleVersion = errors.New("incompatible version of argon2") )
Functions ¶
func AbsolutePath ¶
GetAbsPath returns the absolute path to the provided path
func ComparePassword ¶
func EntityHash ¶
func EntityHashPlusString ¶
func HashPassword ¶
func RandomByteSlice ¶
func RandomCryptoString ¶
func RandomString ¶
func WorkingDirectoryPath ¶
WorkingDirectoryPath returns the absolute path to the provided path
Types ¶
Click to show internal directories.
Click to hide internal directories.