Documentation ¶
Overview ¶
Package hasher provides functions for hashing string and comparing string with hash
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPasswordHash checks if provided password and hash are the same return true if hashed password have the same hash as provided hash return false otherwise
func HashPassword ¶
HashPassword hashes provided string with usage SHA256 Error is returned if provided string is empty If password is not empty returned hashed password and nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.