diff --git a/core/src/crypto.rs b/core/src/crypto.rs index 6f14429..76d93cd 100644 --- a/core/src/crypto.rs +++ b/core/src/crypto.rs @@ -30,10 +30,6 @@ impl Crypto { } } - pub(crate) fn enabled(&self) -> bool { - self.cipher.is_some() - } - /// nonce(12) ‖ ciphertext. Passthrough when disabled. pub(crate) fn seal(&self, plaintext: &[u8]) -> Vec { match &self.cipher {