Class CounterBasedPasswordGenerator
A onetime password generator based on a counter that increments on each successful login.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Yort.Otp
Assembly: cs.temp.dll.dll
Syntax
public sealed class CounterBasedPasswordGenerator : OnetimePasswordGeneratorBase, IOnetimePasswordGenerator, IDisposable
Remarks
Default values are SHA1, a 30 second time interval and a password length of 6. The default Counter value is zero.
Constructors
Name | Description |
---|---|
CounterBasedPasswordGenerator() | Default constructor |
CounterBasedPasswordGenerator() | Default constructor |
CounterBasedPasswordGenerator(Boolean) | Partial constructor. |
CounterBasedPasswordGenerator(Boolean) | Partial constructor. |
CounterBasedPasswordGenerator(Boolean, Byte[]) | Full constructor, initialises this instance with an already known secret. |
CounterBasedPasswordGenerator(Boolean, Byte[]) | Full constructor, initialises this instance with an already known secret. |
Properties
Name | Description |
---|---|
Counter | Sets or returns the current value of the 'counter' which is turned into a onetime use password. |
Counter | Sets or returns the current value of the 'counter' which is turned into a onetime use password. |