Craig's Utility Library
4.0 Beta
|
Hasher base class More...
Public Member Functions | |
bool | CanHandle (string Algorithm) |
Can this handle the algorithm specified More... | |
byte[] | Hash (byte[] Data, string Algorithm) |
Hashes the data More... | |
Protected Member Functions | |
HasherBase () | |
Constructor More... | |
HashAlgorithm | GetAlgorithm (string Algorithm) |
Gets the hash algorithm that the system uses More... | |
Properties | |
abstract string | Name [get] |
Name More... | |
IDictionary< string, Func< HashAlgorithm > > | ImplementedAlgorithms [get] |
Algorithms this implements More... | |
Properties inherited from Utilities.IO.Encryption.Interfaces.IHasher | |
string | Name [get] |
Hasher name More... | |
Hasher base class
Definition at line 33 of file HasherBase.cs.
|
protected |
Constructor
Definition at line 38 of file HasherBase.cs.
bool Utilities.IO.Encryption.BaseClasses.HasherBase.CanHandle | ( | string | Algorithm | ) |
Can this handle the algorithm specified
Algorithm | The algorithm name |
Implements Utilities.IO.Encryption.Interfaces.IHasher.
Definition at line 58 of file HasherBase.cs.
|
protected |
Gets the hash algorithm that the system uses
Algorithm | Algorithm |
Definition at line 90 of file HasherBase.cs.
byte [] Utilities.IO.Encryption.BaseClasses.HasherBase.Hash | ( | byte[] | Data, |
string | Algorithm | ||
) |
Hashes the data
Data | Data to hash |
Algorithm | Algorithm to use |
Implements Utilities.IO.Encryption.Interfaces.IHasher.
Definition at line 69 of file HasherBase.cs.
|
getprotected |
Algorithms this implements
Definition at line 51 of file HasherBase.cs.
|
get |
Name
Definition at line 46 of file HasherBase.cs.