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
''' 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;

6 thoughts on “Interface for Hashing classes”

  1. Pingback: Calculate MD5 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog

  2. Pingback: Calculate RIPEMD160 Hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog

  3. Pingback: Calculate SHA1 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog

  4. Pingback: Calculate SHA256 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog

  5. Pingback: Calculate SHA512 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog

  6. Pingback: Calculate SHA384 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog

Leave a Comment

Your email address will not be published. Required fields are marked *

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