Class Hash<TOptions>
- Namespace
- Cuemon.Security
- Assembly
- Cuemon.Core.dll
Represents the base class from which all implementations of hash algorithms and checksums should derive.
public abstract class Hash<TOptions> : Hash, IHash, IConfigurable<TOptions> where TOptions : ConvertibleOptions, new()
Type Parameters
TOptions
The type of the configured options.
- Inheritance
-
Hash<TOptions>
- Implements
-
IConfigurable<TOptions>
- Derived
- Inherited Members
Constructors
Hash(Action<TOptions>)
Initializes a new instance of the Hash<TOptions> class.
protected Hash(Action<TOptions> setup)
Parameters
setup
Action<TOptions>The ConvertibleOptions which may be configured.
Properties
Options
Gets the configured options of this instance.
public TOptions Options { get; }
Property Value
- TOptions
The configured options of this instance.
Methods
EndianInitializer(EndianOptions)
The endian-initializer of this instance.
protected sealed override void EndianInitializer(EndianOptions options)
Parameters
options
EndianOptionsAn instance of the configured options.