pub trait Vault {
// Required methods
fn new(
public: Option<PublicKey>,
private: Option<PrivateKey>,
) -> Result<Self>
where Self: Sized;
fn create(
&self,
password: SecretSlice<u8>,
data: &mut [u8],
) -> Result<String>;
fn view(
&self,
password: &[u8],
data: &[u8],
fingerprint: &str,
) -> Result<String>;
}