Harden Merkle Tree against second pre-image attacks (#4925)

* merkle-tree: Harden against second pre-image attacks

* core/chacha: Bump test golden hash
This commit is contained in:
Trent Nelson
2019-07-08 19:00:06 -06:00
committed by GitHub
parent 563c42b829
commit 1feb9bea21
2 changed files with 29 additions and 10 deletions

View File

@ -133,7 +133,7 @@ mod tests {
hasher.hash(&buf[..size]);
// golden needs to be updated if blob stuff changes....
let golden: Hash = "E2HZjSC6VgH4nmEiTbMDATTeBcFjwSYz7QYvU7doGNhD"
let golden: Hash = "53P7UXH7JstJa994fZsfuyr7nrRDrDDpvS3WSPvMUs45"
.parse()
.unwrap();