Discover Packages
github.com/hollson/gdk
password
package
Version:
v0.0.0-...-110d06e
Opens a new window with list of versions in this module.
Published: Jan 6, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Hash encrypt password using bcrypt.
Remember that each call will generate different hash
even if the password is the same.
IsMatch returns true if password equals to hash, false otherwise.
Input password is commonly from user's input,
while the hash should be from database record.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.