BP Hash
BP is a hash function algorithm.
Public Shared Function BPHash(str As String) As UInteger
Dim hash As UInteger = 0
Dim i As UInteger = 0
For i = 0 To str.Length - 1
hash = hash << 7 Xor CByte(AscW(str(CInt(i))))
Next
Return hash
End Function
Example
Dim data = "jdfgsdhfsdfsd 6445dsfsd7fg/*/+bfjsdgf%$^"
Dim value = BPHash(data)
Output
2093568606