Dim Bconv As ByteConverter
Dim datatohash As String
Dim bytedata(0) as Byte
Dim hasheddata(0) As Byte
Dim stringdata As String
Dim md As MessageDigest
datatohash="abcdefg"
bytedata = Bconv.StringToBytes(datatohash, "UTF8")
hasheddata = md.GetMessageDigest(bytedata, "SHA-512")
stringdata=Bconv.StringFromBytes(hasheddata,"UTF8")
Log (stringdata)