Sample code for 30+ languages & platforms
VB.NET

Example: SecureString.HashVal method

Demonstrates the HashVal method.

Chilkat VB.NET Downloads

VB.NET
Dim success As Boolean = False

Dim str As New Chilkat.SecureString
str.MaintainHash = "sha256"
str.Append("Hello World")

Dim encodedHash As String = str.HashVal("base64")
Debug.WriteLine(encodedHash)