pub fn hash(&self, backend: &impl OpenMlsCryptoProvider) -> Vec<u8> {
        // FIXME: remove unwrap
        let bytes = self.tls_serialize_detached().unwrap();
        self.payload.ciphersuite.hash(backend, &bytes)
    }
/// Compute the hash of the encoding of this key package.
Compute the hash of the encoding of this key package.
Compute the hash of the encoding of this key package .
pub fn hash(&self, backend: &impl OpenMlsCryptoProvider) -> Vec<u8> {
        // FIXME: remove unwrap
        let bytes = self.tls_serialize_detached().unwrap();
        self.payload.ciphersuite.hash(backend, &bytes)
    }
pub fn hash ( & self , backend : & impl OpenMlsCryptoProvider ) -> Vec < u8 > { // FIXME: remove unwrap let bytes = self . tls_serialize_detached ( ) . unwrap ( ) ; self . payload . ciphersuite . hash ( backend , & bytes ) }
Compute the hash of the encoding of this key package.
Compute the hash of the encoding of this key package .
&self
backend
&impl OpenMlsCryptoProvider
&self
backend
&impl OpenMlsCryptoProvider