age-setup 0.1.3

a rust library that creates X25519 key pairs and uses age as its foundation and is very easy to use
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::public_key::PublicKey;
use crate::secret_key::SecretKey;
#[derive(Debug)]
pub struct KeyPair {
    pub public: PublicKey,
    pub secret: SecretKey,
}
impl KeyPair {
    pub(crate) fn new(public: PublicKey, secret: SecretKey) -> Self {
        Self { public, secret }
    }
}