update tiny-keccak (#4093)

* update tiny-keccak

* fix

* Update Cargo.toml

* update Cargo.lock

* remove keccak-hasher
This commit is contained in:
Weiliang Li authored and Gavin Wood committed 2019-11-12 09:35:46 +01:00
1 parent f1427d51f8
commit bff16d906d
9 files changed
+34 -21

No files matched your search

+1 -1
View File
@@ -376,7 +376,7 @@ pub trait Crypto {
pub trait Hashing {
/// Conduct a 256-bit Keccak hash.
fn keccak_256(data: &[u8]) -> [u8; 32] {
tiny_keccak::keccak256(data)
primitives::hashing::keccak_256(data)
}
/// Conduct a 128-bit Blake2 hash.