3 references to ComputeTotp
Microsoft.Extensions.Identity.Core (3)
AuthenticatorTokenProvider.cs (1)
73
var expectedCode = Rfc6238AuthenticationService.
ComputeTotp
(hash, (ulong)(timestep + i), modifierBytes: null);
Rfc6238AuthenticationService.cs (2)
102
return
ComputeTotp
(hashAlgorithm, currentTimeStep, modifierBytes);
124
var computedTotp =
ComputeTotp
(hashAlgorithm, (ulong)((long)currentTimeStep + i), modifierBytes);