With the raw address
0x0000861299624c9a3b52be10762c64bac282b1c02316 the first 4 characters (0000 in this case) represent
tz1 and the rest of the string is the raw Tezos address.
From my research it appears that the rest of the bytes,
861299624c9a3b52be10762c64bac282b1c02316 must get hashed before it can be converted to a string with base58 but I am not sure which of the available hashing algorithms I should use to do so.
Which algo should I be using to get these bytes into the pre-base58 hashed byte form? (i.e. the state before converting that data to its final form of
XrwX7i9Nzh8e6UmG3VnFkAeoyWdTqDf3U with base58)
Is it blake2b?