feat: v0.2.0-dev, x25519 encryption

This commit is contained in:
2023-10-08 00:53:25 +08:00
parent 0bdb89ad25
commit 4d01ea49e2
2 changed files with 6 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ use rust_util::{simple_error, warning, XResult};
use zeroize::Zeroize;
pub const ENC_AES256_GCM_P256: &str = "aes256-gcm-p256";
pub const ENC_AES256_GCM_X25519: &str = "aes256-gcm-x25519";
pub const TINY_ENC_FILE_EXT: &str = ".tinyenc";
pub const TINY_ENC_CONFIG_FILE: &str = "~/.tinyencrypt/config-rs.json";