Remove hash_into from Rotation.

This commit is contained in:
Sean Bowe 2021-02-17 10:48:28 -07:00
parent dfa7d96fa9
commit ea563434f4
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 0 additions and 5 deletions

View File

@ -229,9 +229,4 @@ impl Rotation {
pub fn next() -> Rotation {
Rotation(1)
}
/// Hash Rotation into a Blake2bState
pub fn hash_into(&self, hasher: &mut Blake2bState) {
hasher.update(&format!("{:?}", self).as_bytes());
}
}