package crypto import ( "fmt" "testing" ) func TestPasswordEncrypt(t *testing.T) { ps := NewPasswordHashService() s, _ := ps.Hash("Admin@999") fmt.Println(s) //$2a$10$euUTp03TseiN7Wy/Y0NTTeLmwLShVYUbIg3z7dE62msUsh/8LGNpq }