Add getSaltedPassword().

This commit is contained in:
Yang Luo
2021-05-03 01:23:45 +08:00
parent 813204194f
commit 6e47cd5bd5
3 changed files with 59 additions and 0 deletions

View File

@ -44,3 +44,8 @@ func TestSyncIds(t *testing.T) {
updateUserColumn("id", user)
}
}
func TestGetSaltedPassword(t *testing.T) {
password := "123456"
fmt.Printf("%s -> %s\n", password, getSaltedPassword(password))
}