mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01: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.
|
/// Methods for handling passwords.
|
||||||
class Crypt {
|
class Crypt {
|
||||||
static final _crypt = PassCrypt('SHA-512/HMAC/PBKDF2');
|
static final _crypt = PassCrypt.pbkdf2(hmac: HmacHash.Sha_512);
|
||||||
static final _rand = Random.secure();
|
static final _rand = Random.secure();
|
||||||
|
|
||||||
/// Compute a hash for a password.
|
/// Compute a hash for a password.
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ dependencies:
|
||||||
moor_ffi: ^0.5.0
|
moor_ffi: ^0.5.0
|
||||||
musicus_database:
|
musicus_database:
|
||||||
path: ../database
|
path: ../database
|
||||||
steel_crypt:
|
steel_crypt: ^2.0.3
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
build_runner:
|
build_runner:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue