// GetHash returns the bcrypt hash of the provided password.
GetHash returns the bcrypt hash of the provided password.
// GetHash returns the bcrypt hash of the provided password .
func GetHash(password string) ([]byte, error) {
	hashed, err := bcrypt.GenerateFromPassword([]byte(password), bcryptCost)
	if err != nil {
		return nil, err
	}
	return hashed, nil
}
func GetHash ( password string ) ( [ ] byte , error ) { hashed , err := bcrypt . GenerateFromPassword ( [ ] byte ( password ) , bcryptCost ) if err != nil { return nil , err } return hashed , nil }
GetHash returns the bcrypt hash of the provided password.
GetHash returns the bcrypt hash of the provided password .