mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-22 08:00:45 +03:00
Created Algorithm (markdown)
+15
@@ -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) |
|
||||||
Reference in New Issue
Block a user