Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : otpcore

HOTP and TOTP implementation in C# targeting .NET standard 2.0, compliant with RFC 4226 (HOTP) and RFC 6238 (TOTP) and verified against supplied test vectors. The interface includes support for multiple algorithms (HMAC-SHA1, HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512), code lengths (6 - 10), and an adjustable period, or time step, (1 second - 1 hour) for TOTP. The reason for creating this library was to fetch multiple HOTP counters or a TOTP time range in a single call. A parser for OTP Auth URIs is also included that conforms to the documentation found at: https://github.com/google/google-authenticator/wiki/Key-Uri-Format. This implementation also includes a Base32 encoder and decoder. It is compliant with RFC 4648, using the standard alphabet from section 6, and has been tested against the test vectors from section 10.

Registry - Homepage - JSON
purl: pkg:nuget/otpcore
Keywords: mfa, 2fa, htop, totp, base32, csharp, netstandard, dotnet-standard
License: MIT
Latest release: over 1 year ago
First release: over 124 years ago
Downloads: 9,530 total
Stars: 5 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...