raycrypt 0.3.1

Encrypt at the speed of light
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub(crate) mod field;
pub mod x25519;

#[derive(Debug)]
pub struct InvalidKey;

impl std::fmt::Display for InvalidKey {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "This key is an invalid size!")
    }
}

impl std::error::Error for InvalidKey {}