pub(crate) const DEFAULT_TAG: &str = "AES.GCM.V1";
pub(crate) const DEFAULT_AAD: &str = "AES256GCM";
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct VaultConfig {
pub tag: String,
pub aad: String,
}
impl Default for VaultConfig {
fn default() -> Self {
Self {
tag: DEFAULT_TAG.into(),
aad: DEFAULT_AAD.into(),
}
}
}