OtpCore 1.0.1

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package OtpCore -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package OtpCore --version 1.0.1
<PackageReference Include="OtpCore" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OtpCore --version 1.0.1
#r "nuget: OtpCore, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OtpCore as a Cake Addin
#addin nuget:?package=OtpCore&version=1.0.1

// Install OtpCore as a Cake Tool
#tool nuget:?package=OtpCore&version=1.0.1

HOTP, TOTP, OTP Auth URI, and Base32 .NET Standard library

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0-dev-32 39 8/18/2022
1.1.0-dev-28 33 8/18/2022
1.1.0-dev-24 37 8/17/2022
1.1.0-dev-22 62 7/30/2022
1.0.3 52 8/18/2022
1.0.2 44 8/17/2022
1.0.1 80 7/30/2022
1.0.1-dev-17 65 7/30/2022
1.0.0 74 7/29/2022
0.9.0-dev-9 47 7/29/2022
0.9.0-dev-8 46 7/29/2022
0.9.0-dev-7 44 7/29/2022
0.9.0-dev-6 55 7/28/2022
0.9.0-dev-14 60 7/29/2022
0.9.0-dev-13 60 7/29/2022
0.9.0-dev-12 57 7/29/2022
0.9.0-dev-11 56 7/29/2022
0.9.0-dev-10 58 7/29/2022

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:

     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.