rust-bitcoin-unsafe-fast/hashes/src
Tobin C. Harding 96784b9cfa
Make sha512::HashEngine fields private
Recently we made the hash engine fields pub crate so that `sha512_256`
could construct a hash engine with different constants. We can make the
code slightly cleaner by adding a pub crate constructor and making the
fields private again.

Idea from Kixunil:

  https://github.com/rust-bitcoin/rust-bitcoin/pull/1413#pullrequestreview-1197207593
2023-06-20 10:11:11 +10:00
..
cmp.rs hashes: Introduce SPDX license identifiers 2023-05-01 09:26:36 +10:00
hash160.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
hex.rs hashes: Introduce SPDX license identifiers 2023-05-01 09:26:36 +10:00
hmac.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
impls.rs hashes: Introduce SPDX license identifiers 2023-05-01 09:26:36 +10:00
internal_macros.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
lib.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
ripemd160.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
serde_macros.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
sha1.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
sha256.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
sha256d.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
sha256t.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
sha512.rs Make sha512::HashEngine fields private 2023-06-20 10:11:11 +10:00
sha512_256.rs Make sha512::HashEngine fields private 2023-06-20 10:11:11 +10:00
siphash24.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00
util.rs Improve hashes::Error 2023-05-25 13:25:13 +10:00