Home

Check whether a port is open on a remote machine

Sometimes you would like to know whether a port is open on a remote machine. Now while this is no nmap, the following code should give you an idea on how to check whether a port is open. Private Function isRemotePortOpen(ByVal hostName As String, ByVal port As Integer) As Boolean     Dim client As TcpClient = Nothing     Dim rtn as Boolean     ...

Read more

Calculate SHA512 hash of string or file

This class implements the IHasher interface that you can find here. ''' ''' SHA512 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 SHA512Hash         Implements IHasher         Public Function hashOfFile(ByVal ...

Read more

Calculate SHA384 hash of string or file

This class implements the IHasher interface that you can find here. ''' ''' SHA384 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 SHA384Hash         Implements IHasher         Public Function hashOfFile(ByVal ...

Read more

Calculate SHA256 hash of string or file

This class implements the IHasher interface that you can find here. ''' ''' SHA256 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 SHA256Hash         Implements IHasher         Public Function hashOfFile(ByVal ...

Read more

Calculate SHA1 hash of string or file

This class implements the IHasher interface that you can find here. ''' ''' SHA1 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 SHA1Hash         Implements IHasher         Public Function hashOfFile(ByVal file...

Read more

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(...

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 hashOfStr...

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 file...

Read more