diff --git a/rust/pv/src/crypto.rs b/rust/pv/src/crypto.rs index 3ad66a88..5a69a261 100644 --- a/rust/pv/src/crypto.rs +++ b/rust/pv/src/crypto.rs @@ -162,6 +162,12 @@ impl SymKey { } } +impl Display for SymKey { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + write!(f, "SymKey({:?})", self.key_type()) + } +} + /// Performs an hkdf according to RFC 5869. /// See [`OpenSSL HKDF`]() ///