It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
Dim public_key as String = "2b4632d08485ff1df2db55b9dafd23347d1c47a457072a1e87be26896549a8737"
Dim bytes As Byte() = System.Text.Encoding.Unicode.GetBytes(public_key)
Imports System.Security.Cryptography
Imports System.Text
Imports System.Globalization
Imports System.Numerics
Private Function HexStringToByteArray(ByVal shex As String) As Byte()
Dim B As Byte() = Enumerable.Range(0, shex.Length).Where(Function(x) x Mod 2 = 0).[Select](Function(x) Convert.ToByte(shex.Substring(x, 2), 16)).ToArray()
Return Enumerable.Range(0, shex.Length).Where(Function(x) x Mod 2 = 0).[Select](Function(x) Convert.ToByte(shex.Substring(x, 2), 16)).ToArray()
End Function
Private Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click
Dim public_key as String = "2b4632d08485ff1df2db55b9dafd23347d1c47a457072a1e87be26896549a8737"
Dim pubkey_hash As String
Dim sha256 As SHA256 = SHA256Managed.Create()
Dim bytes As Byte() = HexStringToByteArray(public_key)
Dim hash As Byte() = sha256.ComputeHash(bytes)
Dim stringBuilder1 As New StringBuilder()
For i As Integer = 0 To hash.Length - 1
stringBuilder1.Append(hash(i).ToString("X2"))
Next
bytes = HexStringToByteArray(stringBuilder1.ToString())
Dim ripemd160 As RIPEMD160 = RIPEMD160Managed.Create()
Dim hash_160 As Byte() = ripemd160.ComputeHash(bytes)
Dim stringBuilder2 As New StringBuilder()
For i As Integer = 0 To hash_160.Length - 1
stringBuilder2.Append(hash_160(i).ToString("X2"))
Next
Dim arr() As Char = stringBuilder2.ToString
pubkey_hash = arr.tostring
TextBox14.Text = pubkey_hash
End Sub