use sha-1/hmac

This commit is contained in:
2020-04-04 23:34:42 +08:00
parent 6e116f7003
commit b1a9e6f8f2
7 changed files with 111 additions and 266 deletions

View File

@@ -8,21 +8,22 @@ mod zip_util;
mod opt;
use std::{
fs::{self, File},
time::SystemTime,
path::Path,
fs::{
self,
File,
},
};
use rust_util::{
iff,
XResult,
util_msg::*,
iff,
};
use oss_util::*;
use config_util::*;
use pgp_util::OpenPGPTool;
use opt::{
Options,
};
use opt::Options;
// https://docs.sequoia-pgp.org/sequoia_openpgp/serialize/stream/struct.Encryptor.html
// https://gitlab.com/sequoia-pgp/sequoia/blob/master/openpgp/examples/generate-encrypt-decrypt.rs