mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-10 21:06:03 +02:00
Update lib.rs
This commit is contained in:
parent
9ef2f4d9a8
commit
bf42932833
|
@ -72,7 +72,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.
|
||||
|
@ -209,7 +209,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 fn as_bytes(&self) -> &[u8; OUT_LEN] {
|
||||
|
|
Loading…
Reference in New Issue