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.

View file

@ -13,7 +13,7 @@ dependencies:
moor_ffi: ^0.5.0
musicus_database:
path: ../database
steel_crypt:
steel_crypt: ^2.0.3
dev_dependencies:
build_runner: