1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-13 19:56:20 +02:00
This commit is contained in:
Pavel(Pavlo) Mazniker 2024-04-06 12:03:15 +08:00 committed by GitHub
commit d650d38cab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@
#[cfg(test)]
mod test;
// The guts module is for incremental use cases like the `bao` crate that need
// The guts module is for incremental use cases like the `bao` crate that needs
// to explicitly compute chunk and parent chaining values. It is semi-stable
// and likely to keep working, but largely undocumented and not intended for
// widespread use.
@ -223,7 +223,7 @@ pub struct Hash([u8; OUT_LEN]);
impl Hash {
/// The raw bytes of the `Hash`. Note that byte arrays don't provide
/// constant-time equality checking, so if you need to compare hashes,
/// constant-time equality checking, so if you need to compare hashes,
/// prefer the `Hash` type.
#[inline]
pub const fn as_bytes(&self) -> &[u8; OUT_LEN] {