pub fn compute(mut self) -> Digest {
        let mut input: [u32; 16] = unsafe { mem::uninitialized() };
        let k = ((self.handled[0] >> 3) & 0x3F) as usize;

        input[14] = self.handled[0];
        input[15] = self.handled[1];

        self.consume(&PADDING[..(if k < 56 { 56 - k } else { 120 - k })]);

        let mut j = 0;
        for i in 0..14 {
            input[i] = ((self.input[j + 3] as u32) << 24) |
                       ((self.input[j + 2] as u32) << 16) |
                       ((self.input[j + 1] as u32) <<  8) |
                       ((self.input[j    ] as u32)      );
            j += 4;
        }
        transform(&mut self.buffer, &input);

        let mut digest: Digest = unsafe { mem::uninitialized() };

        let mut j = 0;
        for i in 0..4 {
            digest[j    ] = ((self.buffer[i]      ) & 0xFF) as u8;
            digest[j + 1] = ((self.buffer[i] >>  8) & 0xFF) as u8;
            digest[j + 2] = ((self.buffer[i] >> 16) & 0xFF) as u8;
            digest[j + 3] = ((self.buffer[i] >> 24) & 0xFF) as u8;
            j += 4;
        }

        digest
    }
/// Finalize and return the digest.
Finalize and return the digest.
Finalize and return the digest .
pub fn compute(mut self) -> Digest {
        let mut input: [u32; 16] = unsafe { mem::uninitialized() };
        let k = ((self.handled[0] >> 3) & 0x3F) as usize;
        input[14] = self.handled[0];
        input[15] = self.handled[1];
        self.consume(&PADDING[..(if k < 56 { 56 - k } else { 120 - k })]);
        let mut j = 0;
        for i in 0..14 {
            input[i] = ((self.input[j + 3] as u32) << 24) |
                       ((self.input[j + 2] as u32) << 16) |
                       ((self.input[j + 1] as u32) <<  8) |
                       ((self.input[j    ] as u32)      );
            j += 4;
        }
        transform(&mut self.buffer, &input);
        let mut digest: Digest = unsafe { mem::uninitialized() };
        let mut j = 0;
        for i in 0..4 {
            digest[j    ] = ((self.buffer[i]      ) & 0xFF) as u8;
            digest[j + 1] = ((self.buffer[i] >>  8) & 0xFF) as u8;
            digest[j + 2] = ((self.buffer[i] >> 16) & 0xFF) as u8;
            digest[j + 3] = ((self.buffer[i] >> 24) & 0xFF) as u8;
            j += 4;
        }
        digest
    }
pub fn compute ( mut self ) -> Digest { let mut input : [ u32 ; 16 ] = unsafe { mem :: uninitialized ( ) } ; let k = ( ( self . handled [ 0 ] >> 3 ) & 0x3F ) as usize ; input [ 14 ] = self . handled [ 0 ] ; input [ 15 ] = self . handled [ 1 ] ; self . consume ( & PADDING [ .. ( if k < 56 { 56 - k } else { 120 - k } ) ] ) ; let mut j = 0 ; for i in 0 .. 14 { input [ i ] = ( ( self . input [ j + 3 ] as u32 ) << 24 ) | ( ( self . input [ j + 2 ] as u32 ) << 16 ) | ( ( self . input [ j + 1 ] as u32 ) << 8 ) | ( ( self . input [ j ] as u32 ) ) ; j += 4 ; } transform ( & mut self . buffer , & input ) ; let mut digest : Digest = unsafe { mem :: uninitialized ( ) } ; let mut j = 0 ; for i in 0 .. 4 { digest [ j ] = ( ( self . buffer [ i ] ) & 0xFF ) as u8 ; digest [ j + 1 ] = ( ( self . buffer [ i ] >> 8 ) & 0xFF ) as u8 ; digest [ j + 2 ] = ( ( self . buffer [ i ] >> 16 ) & 0xFF ) as u8 ; digest [ j + 3 ] = ( ( self . buffer [ i ] >> 24 ) & 0xFF ) as u8 ; j += 4 ; } digest }
Finalize and return the digest.
Finalize and return the digest .
mut self
mut self