Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/alexedwards/argon2id
/ functions
Functions
11 in github.com/alexedwards/argon2id
⨍
Functions
11
◇
Types & classes
1
↓ 5 callers
Function
CheckHash
CheckHash is like ComparePasswordAndHash, except it also returns the params that the hash was created with. This can be useful if you want to update y
argon2id.go:118
↓ 5 callers
Function
CreateHash
CreateHash returns a Argon2id hash of a plain-text password using the provided algorithm parameters. The returned hash follows the format used by the
argon2id.go:91
↓ 2 callers
Function
ComparePasswordAndHash
ComparePasswordAndHash performs a constant-time comparison between a plain-text password and Argon2id hash, using the parameters and salt contained in
argon2id.go:110
↓ 2 callers
Function
DecodeHash
DecodeHash expects a hash created from this package, and parses it to return the params used to create it, as well as the salt and key (password hash)
argon2id.go:150
↓ 1 callers
Function
generateRandomBytes
(n uint32)
argon2id.go:138
Function
TestCheckHash
(t *testing.T)
argon2id_test.go:74
Function
TestComparePasswordAndHash
(t *testing.T)
argon2id_test.go:34
Function
TestCreateHash
(t *testing.T)
argon2id_test.go:9
Function
TestDecodeHash
(t *testing.T)
argon2id_test.go:59
Function
TestStrictDecoding
(t *testing.T)
argon2id_test.go:92
Function
TestVariant
(t *testing.T)
argon2id_test.go:113