Discover Packages
github.com/rizalgowandy/gdk
pkg
password
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: May 15, 2025
License: BSD-3-Clause
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.