Sample code for 30+ languages & platforms
VB.NET Requires Chilkat v11.2.0+

Base62 Encoding and Decoding

Demonstrates base62 encoding and decoding.

Chilkat VB.NET Downloads

VB.NET
Dim bd As New Chilkat.BinData

'  Base62 encode.
bd.AppendString("hello world","utf-8")
Dim base62_encoded As String = bd.GetEncoded("base62")
Debug.WriteLine("hello world --> " & base62_encoded)

'  Output: 
'  hello world --> AAwf93rvy4aWQVw

'  Base62 decode
Dim sb As New Chilkat.StringBuilder
sb.DecodeAndAppend("AAwf93rvy4aWQVw","base62","utf-8")
Debug.WriteLine("decoded: " & sb.GetAsString())

'  Output:
'  decoded: hello world