[crypto] Add convenience method `CryptoHasher::hash_all(&[u8])`
[crypto] Add convenience method `CryptoHasher::hash_all(&[u8])`

+ One line `MyCryptoHasher::hash_all(bytes)` vs three lines:

```rust
let mut hasher = MyCryptoHasher::default();
hasher.update(bytes);
hasher.finish()
```

aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,libra/libra,libra/libra,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core