fn frame_hash(&self) -> [u8; Frame::HASH_LEN] {
        let sha = Sha256::hash(self.as_bytes());
        let mut digest = sha.bytes();
        // Touch up zeroes into ones, as that is what the old chips are doing.
        for b in &mut digest {
            if *b == 0 {
                *b = 1;
            }
        }
        digest
    }
/// Computes the hash over the entire frame.
Computes the hash over the entire frame.
Computes the hash over the entire frame .
fn frame_hash(&self) -> [u8; Frame::HASH_LEN] {
        let sha = Sha256::hash(self.as_bytes());
        let mut digest = sha.bytes();
        // Touch up zeroes into ones, as that is what the old chips are doing.
        for b in &mut digest {
            if *b == 0 {
                *b = 1;
            }
        }
        digest
    }
fn frame_hash ( & self ) -> [ u8 ; Frame :: HASH_LEN ] { let sha = Sha256 :: hash ( self . as_bytes ( ) ) ; let mut digest = sha . bytes ( ) ; // Touch up zeroes into ones, as that is what the old chips are doing. for b in & mut digest { if * b == 0 { * b = 1 ; } } digest }
Computes the hash over the entire frame.
Computes the hash over the entire frame .
&self