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
Pingback:Calculate MD5 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog
Pingback:Calculate RIPEMD160 Hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog
Pingback:Calculate SHA1 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog
Pingback:Calculate SHA256 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog
Pingback:Calculate SHA512 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog
Pingback:Calculate SHA384 hash of string or file | Sam Jenkins' BlogSam Jenkins' Blog