From f03ef861491d953bffb2e5dc929cd80be016c26c Mon Sep 17 00:00:00 2001 From: Eugene Fox Date: Mon, 31 May 2021 01:54:26 +0300 Subject: [PATCH] Created Algorithm (markdown) --- Algorithm.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Algorithm.md diff --git a/Algorithm.md b/Algorithm.md new file mode 100644 index 0000000..abb01cb --- /dev/null +++ b/Algorithm.md @@ -0,0 +1,15 @@ +Namespace: `SimpleOTP.Enums` + +Assembly: `SimpleOTP.dll` + +Available OTP encryption algorithms. +```csharp +public enum Algorithm +``` + +## Fields +| Field | Value | Description | +| ------ | ----- | ---------------------------------------------------------------------------------------------- | +| SHA1 | 0 | HMAC-SHA1 hasing algorithm (default) [RFC 3174](https://datatracker.ietf.org/doc/html/rfc3174) | +| SHA256 | 1 | HMAC-SHA256 hasing algorithm [RFC 4634](https://datatracker.ietf.org/doc/html/rfc4634) | +| SHA512 | 2 | HMAC-SHA512 hasing algorithm [RFC 4634](https://datatracker.ietf.org/doc/html/rfc4634) | \ No newline at end of file