1 2 3 4 5 6 7 8 9 10 11
//! `Box` types containing secrets
use super::{DebugSecret, Secret};
use alloc::boxed::Box;
use zeroize::Zeroize;
/// `Box` types containing a secret value
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
pub type SecretBox<S> = Secret<Box<S>>;
impl<S: DebugSecret + Zeroize> DebugSecret for Box<S> {}