anubis-wormhole 1.0.0

A post-quantum secure file transfer tool based on the Magic Wormhole protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

#[derive(Debug, Error)]
pub enum AnubisError {
    #[error("invalid input")] 
    InvalidInput,
    #[error("crypto error: {0}")]
    Crypto(&'static str),
    #[error("decrypt failed")] 
    DecryptFailed,
}

pub type Result<T> = core::result::Result<T, AnubisError>;