mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-25 19:27:24 +02:00
server: Update steel_crypt
This commit is contained in:
parent
f1c8196894
commit
d566e6c473
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue