Craig's Utility Library  4.0 Beta
Utilities.IO.Encryption.Interfaces.IHasher Interface Reference

Hasher interface More...

Inheritance diagram for Utilities.IO.Encryption.Interfaces.IHasher:
Utilities.IO.Encryption.BaseClasses.HasherBase Utilities.IO.Encryption.Default.Hash

Public Member Functions

bool CanHandle (string Algorithm)
 Can this handle the algorithm specified More...
 
byte[] Hash (byte[] Data, string Algorithm)
 Hashes the data More...
 

Properties

string Name [get]
 Hasher name More...
 

Detailed Description

Hasher interface

Definition at line 27 of file IHasher.cs.

Member Function Documentation

bool Utilities.IO.Encryption.Interfaces.IHasher.CanHandle ( string  Algorithm)

Can this handle the algorithm specified

Parameters
AlgorithmThe algorithm name
Returns
True if it can, false otherwise

Implemented in Utilities.IO.Encryption.BaseClasses.HasherBase.

byte [] Utilities.IO.Encryption.Interfaces.IHasher.Hash ( byte[]  Data,
string  Algorithm 
)

Hashes the data

Parameters
DataData to hash
AlgorithmAlgorithm
Returns
The hashed data

Implemented in Utilities.IO.Encryption.BaseClasses.HasherBase.

Property Documentation

string Utilities.IO.Encryption.Interfaces.IHasher.Name
get

Hasher name

Definition at line 32 of file IHasher.cs.


The documentation for this interface was generated from the following file: