pub fn hash<T>(data: T) -> [u8; 32]where
    T: TlWrite<Repr = Boxed>,