Security

Calculate RIPEMD160 Hash of string or file

This class implements the IHasher interface that you can find here. ”’ ”’ RIPEMD160 hash class from Satal Keto’s library ”’ https://samjenkins.com ”’ Version 1.0.0.1 ”’ Imports System.IO Imports System.Security.Cryptography Namespace Security.Hash     Public Class RIPEMD160Hash         Implements IHasher         Public Function hashOfFile(ByVal fileToHash As String) As String Implements IHasher.hashOfFile             Dim rdr As FileStream …

Calculate RIPEMD160 Hash of string or file Read More »

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 …

Interface for Hashing classes Read More »

Calculate MD5 hash of string or file

This class implements the IHasher interface that you can find here. ”’ ”’ MD5 Hash class from Satal Keto’s library ”’ https://samjenkins.com ”’ Version 1.0.0.1 ”’ Imports System.IO Imports System.Security.Cryptography Namespace Security.Hash     Public Class MD5Hasher         Implements IHasher         Public Function hashOfFile(ByVal fileToHash As String) As String Implements IHasher.hashOfFile             Dim rdr As FileStream …

Calculate MD5 hash of string or file Read More »