server: Update steel_crypt

This commit is contained in:
Elias Projahn 2020-07-17 17:21:03 +02:00
parent f1c8196894
commit d566e6c473
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ class CheckPasswordRequest {
/// Methods for handling passwords.
class Crypt {
static final _crypt = PassCrypt('SHA-512/HMAC/PBKDF2');
static final _crypt = PassCrypt.pbkdf2(hmac: HmacHash.Sha_512);
static final _rand = Random.secure();
/// Compute a hash for a password.