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
''' https://samjenkins.com
''' 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;

Interface for Hashing classes
Tagged on:

6 thoughts on “Interface for Hashing classes

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.