chore: add recommendations to documentation of hash functions.

This commit is contained in:
Jon Lundy
2022-12-09 10:05:39 -07:00
parent 60ce81e5fe
commit a4bb55f56a
3 changed files with 8 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ func TestPasswdHash(t *testing.T) {
type testCase struct {
pass, hash string
}
tests := []testCase{
{"passwd", "$1$76a2173be6393254e72ffa4d6df1030a"},
{"passwd", "$2a$10$GkJwB.nOaaeAvRGgyl2TI.kruM8e.iIo.OozgdslegpNlC/vIFKRq"},