Encryption support for the statement store (#14440)

* Added ECIES encryption

* tweaks

* fmt

* Make clippy happy

* Use local keystore

* qed
This commit is contained in:
Arkadiy Paronyan
2023-07-17 20:41:41 +02:00
committed by GitHub
parent c761d4c39e
commit d6d9bd9ea3
28 changed files with 351 additions and 71 deletions
@@ -179,6 +179,13 @@ macro_rules! app_crypto_pair {
impl $crate::AppPair for Pair {
type Generic = $pair;
}
impl Pair {
/// Convert into wrapped generic key pair type.
pub fn into_inner(self) -> $pair {
self.0
}
}
};
}