//! The checksum that ends every blob and token: the first bytes of a
//! SHA-256 of everything before it. It catches damage, not tampering.
//! Callers check it before reading the version, so a damaged version byte
//! reads as damage, not as another version.
use ;
/// Bytes of checksum at the end.
pub const CHECKSUM_LEN: usize = 8;
/// Append the checksum of `bytes`.
pub
/// `bytes` without their checksum, if it matches.
pub