Class OnetimePasswordSecret
A static class containing utility methods useful for converting onetime password secrets to and from various formats.
Inheritance
Inherited Members
Namespace: Yort.Otp
Assembly: cs.temp.dll.dll
Syntax
public static class OnetimePasswordSecret
Methods
Name | Description |
---|---|
FromAscii(String) | Converts a string containing ASCII characters to a byte array suitable for use as a onetime password secret. |
FromAscii(String) | Converts a string containing ASCII characters to a byte array suitable for use as a onetime password secret. |
FromBase32(String) | Converts a string containing base 32 characters to a byte array suitable for use as a onetime password secret. |
FromBase32(String) | Converts a string containing base 32 characters to a byte array suitable for use as a onetime password secret. |
FromHex(String) | Converts a string containing hexadecimal characters to a byte array suitable for use as a onetime password secret. |
FromHex(String) | Converts a string containing hexadecimal characters to a byte array suitable for use as a onetime password secret. |
ToBase32(Byte[]) | Converts a raw secret (in byte array form) to a base 32 string. |