19 references to HMACSHA256
Microsoft.AspNetCore.Cryptography.KeyDerivation (5)
PBKDF2\ManagedPbkdf2Provider.cs (1)
78
case KeyDerivationPrf.
HMACSHA256
:
PBKDF2\NetCorePbkdf2Provider.cs (1)
30
case KeyDerivationPrf.
HMACSHA256
:
PBKDF2\Win7Pbkdf2Provider.cs (1)
90
case KeyDerivationPrf.
HMACSHA256
:
PBKDF2\Win8Pbkdf2Provider.cs (2)
118
case KeyDerivationPrf.
HMACSHA256
:
202
case KeyDerivationPrf.
HMACSHA256
:
Microsoft.AspNetCore.Cryptography.KeyDerivation.Tests (13)
Pbkdf2Tests.cs (13)
24
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 - 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRA==")]
25
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 0, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLo=")]
26
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLpk")]
87
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 - 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRA==")]
88
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 0, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLo=")]
89
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLpk")]
114
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 - 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRA==")]
115
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 0, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLo=")]
116
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLpk")]
141
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 - 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRA==")]
142
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 0, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLo=")]
143
[InlineData("my-password", KeyDerivationPrf.
HMACSHA256
, 5, 256 / 8 + 1, "JRNz8bPKS02EG1vf7eWjA64IeeI+TI8gBEwb1oVvRLpk")]
193
const KeyDerivationPrf prf = KeyDerivationPrf.
HMACSHA256
;
Microsoft.Extensions.Identity.Core (1)
PasswordHasher.cs (1)
203
if (prf == KeyDerivationPrf.HMACSHA1 || prf == KeyDerivationPrf.
HMACSHA256
)