Home Articles VB.Net Articles Interface for Hashing classes

Interface for Hashing classes

The following code is the interface that I have created for a series of classes that I am creating that will deal with getting the hash of a particular string or file.

'
' Hashing interface from Satal Keto's library
' http://www.satalketo.co.uk
' Version 1.0.0.1
'
Namespace Security.Hash
   
 Public Interface IHasher
        Function hashOfString(ByVal 
stringToHash As String) As String
        Function hashOfFile(ByVal 
fileToHash As String) As String
    End Interface
End 
Namespace

The classes that I have created that implement this interface are;

Last Updated (Wednesday, 23 June 2010 22:03)