support encryption (#60)

This commit is contained in:
Sijie.Sun authored and GitHub committed 2024-04-27 13:44:59 +08:00
1 parent 69651ae3fd
commit fcc73159b3
23 files changed
+489 -81

No files matched your search

+3
View File
@@ -47,6 +47,9 @@ pub enum Error {
#[error("message decode error: {0}")]
MessageDecodeError(String),
#[error("secret key error: {0}")]
SecretKeyError(String),
}
pub type Result<T> = result::Result<T, Error>;