summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-20 18:49:01 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-20 18:49:01 +0300
commita647a6180e6f2b0a3c3aaddc40bc2dcf5f396429 (patch)
treec1134705450e571fb2305fd6e9197512cb37a8af /tests
parentd9bce23822117d03b1630f002d3ee0491ac83d4b (diff)
downloadclassroom-a647a6180e6f2b0a3c3aaddc40bc2dcf5f396429.tar.gz
classroom-a647a6180e6f2b0a3c3aaddc40bc2dcf5f396429.tar.bz2
classroom-a647a6180e6f2b0a3c3aaddc40bc2dcf5f396429.zip
new lesson initialization
Diffstat (limited to 'tests')
-rw-r--r--tests/dotnet-pass.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dotnet-pass.php b/tests/dotnet-pass.php
index eeba77f..191a2d2 100644
--- a/tests/dotnet-pass.php
+++ b/tests/dotnet-pass.php
@@ -95,7 +95,7 @@ trait DotNetHasherChecker
{
return false; // bad size
}
-
+
byte[] salt = new byte[SaltSize];
Buffer.BlockCopy(hashedPassword, 1, salt, 0, salt.Length);
@@ -183,7 +183,7 @@ class SomeUserClass
$h = new SomeUserClass();
$result = $h->Verify_AspNet_HashedPassword(
- '3212',
+ '!$ola_04$',
'AMHM+lMKiSdmucVv8KhQ9yyF/sVj8Pay16HJkBDORJxvHDm0WFP2vww9DBVo3JTEoA=='
);
@@ -500,4 +500,4 @@ namespace Microsoft.AspNetCore.Identity
}
---
-*/ \ No newline at end of file
+*/