HMAC-based one-time password generator.
https://www.nuget.org/packages/sim756.HOTP
https://github.com/sim756/sim756.HOTP
string hotp = new HOTPGenerator().Compute("QWERTYUIOPASDFGH");
string nextHotp = new HOTPGenerator().Compute("QWERTYUIOPASDFGH", DateTime.UtcNow.AddSeconds(30));
string hotp = new HOTPGenerator()
{
KeyString = "QWERTYUIOPASDFGH",
Length = 6,
Steps = 30
}.Compute();