feat: support argon2id pass manager (#744)

* support for argon2id

* Update argon2id.go

Co-authored-by: Gucheng <85475922+nomeguy@users.noreply.github.com>
This commit is contained in:
Jan Piechowicz
2022-05-06 03:25:42 +02:00
committed by GitHub
parent c9849d8b55
commit 1b840a2e9f
5 changed files with 45 additions and 1 deletions

View File

@ -30,6 +30,8 @@ func GetCredManager(passwordType string) CredManager {
return NewBcryptCredManager()
} else if passwordType == "pbkdf2-salt" {
return NewPbkdf2SaltCredManager()
} else if passwordType == "argon2id" {
return NewArgon2idCredManager()
}
return nil
}