feat: add crypto.rs

This commit is contained in:
2023-02-11 17:43:37 +08:00
parent 4baf429574
commit 2eecdf8c48
4 changed files with 49 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ pub struct DescBlock {
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct KeyBlock {
pub key_type: String,
pub key_id: Option<String>,
pub encrypted_key_hex: String,
pub key_verification_code_hex: String,