1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[derive(Debug, Clone)] pub struct SecretKey { content: Vec<u8>, } impl SecretKey { pub fn new(content: Vec<u8>) -> Self { Self { content } } pub fn inner(&self) -> &[u8] { &self.content } }