mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-12-14 23:45:53 -05:00
Cleanups and licensing fix
This commit is contained in:
parent
6a79e13024
commit
34c82ec128
41 changed files with 14725 additions and 12558 deletions
|
|
@ -25,7 +25,7 @@ Future<void> testHashAndVerifyPassword() async {
|
|||
for (final kind in Veilid.instance.validCryptoKinds()) {
|
||||
final cs = await Veilid.instance.getCryptoSystem(kind);
|
||||
final nonce = await cs.randomNonce();
|
||||
final salt = nonce.decode();
|
||||
final salt = nonce.toBytes();
|
||||
|
||||
// Password match
|
||||
final phash = await cs.hashPassword(utf8.encode('abc123'), salt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue