-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.Password.VerifyHash
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
Function VerifyHash(HashValue As MemoryBlock, HashAlgorithm As Int32 = libsodium.Password.ALG_ARGON2) As Boolean| Name | Type | Comment |
|---|---|---|
| HashValue | MemoryBlock | The password hash to validate. |
| HashAlgorithm | Int32 | Optional. Either ALG_ARGON2 (default) or ALG_SCRYPT. |
This method returns True if the HashValue matches the Password.
This method verifies that the HashValue is a valid hash for the password (as generated by the Password.GenerateHash method).
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.
- libsodium module
- FAQ
-
Examples
- Secure memory
- Password hashing
- Generic hashing
- Encrypting streams or files
- PKI
- Encryption
- Digital signatures
- SKI
- Encryption
- Message authentication