Private Sub SumOfBytesMod256(Input As String) As String
Dim x As Int
For i = 0 To Input.Length - 1
x = x + Asc(Input.CharAt(i))
Next
Return Bit.ToHexString(x Mod 256).ToUpperCase
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.