Something along the lines of ``` rust impl<H: std::hash::Writer> std::hash::Hash<H> for BigInt { #[inline] fn hash(&self, hasher: &mut H) { self.data.as_slice().hash(hasher) } } ``` should work.