/// Complete an HMAC computation, returning the result
///
/// We would rather this return a fixed length array, something
/// like [u8; H::OUTPUT_LENGTH] but this requires features of Rust
/// which are currently unavailable in stable.
Complete an HMAC computation, returning the result
We would rather this return a fixed length array, something
like [u8; H::OUTPUT_LENGTH] but this requires features of Rust
which are currently unavailable in stable.
Complete an HMAC computation returning the result We would rather this return a fixed length array something like [ u8 ; H :: OUTPUT_LENGTH ] but this requires features of Rust which are currently unavailable in stable .
pub fn finish(self) -> Vec<u8> {
        let inner_digest = self.state.finish();
        let mut outer_hash = H::new();
        outer_hash.update(&self.okey);
        outer_hash.update(&inner_digest);
        outer_hash.finish()
    }
pub fn finish ( self ) -> Vec < u8 > { let inner_digest = self . state . finish ( ) ; let mut outer_hash = H :: new ( ) ; outer_hash . update ( & self . okey ) ; outer_hash . update ( & inner_digest ) ; outer_hash . finish ( ) }
Complete an HMAC computation, returning the result
We would rather this return a fixed length array, something
like [u8; H::OUTPUT_LENGTH] but this requires features of Rust
which are currently unavailable in stable.
Complete an HMAC computation returning the result We would rather this return a fixed length array something like [ u8 ; H :: OUTPUT_LENGTH ] but this requires features of Rust which are currently unavailable in stable .
self