Pavol Rusnak
60b5b7032c
hasher: add HASHER_SAPLING_PREIMAGE
2018-10-16 11:29:45 +02:00
Pavol Rusnak
5d62454c6a
refactor hashers, introduce HASHER_SHA2_RIPEMD160
2018-08-01 15:03:43 +02:00
Pavol Rusnak
456037599f
hasher: add HASHER_SHA3{,K}
2018-07-31 14:20:18 +02:00
Pavol Rusnak
dba2361728
add overwinter hashers
2018-06-12 19:04:55 +02:00
Yura Pakhuchiy
08512053c4
Groestl hash: do it twice and truncate to 256 bits
2018-04-23 16:15:59 +02:00
Yura Pakhuchiy
2fdcebfbb6
Add Groestl hash
2018-04-23 16:15:59 +02:00
Saleem Rashid
c70e440128
hasher: Replace hasher_Double with HASHER_*D
...
This allows us to finely control when to use a single hash or a double hash in
various places. For example, Bitcoin signatures use double SHA256, but Decred
signatures use a single BLAKE256. However, both use double hashes for Base58.
2018-04-03 18:28:06 +02:00
Saleem Rashid
6b813bc473
hasher: Add HASHER_BLAKE
2017-12-10 20:07:13 +01:00
Saleem Rashid
a70caa3dbc
hasher: Initial commit
2017-12-10 20:07:13 +01:00