Crate fcp_cryptoauth [−] [src]
Reexports
pub use keys::FromBase32; |
pub use keys::FromHex; |
pub use keys::publickey_to_ipv6addr; |
pub use authentication::Credentials; |
pub use auth_failure::AuthFailure; |
pub use cryptography::gen_keypair; |
pub use connection_state::ConnectionState; |
Modules
auth_failure | |
authentication |
Contains code related to the authorization challenge, as defined by https://github.com/fc00/spec/blob/10b349ab11/cryptoauth.md#authorization-challenges and https://github.com/cjdelisle/cjdns/blob/cjdns-v17.4/doc/Whitepaper.md#authentication-field |
connection |
Handling of the connection once the handshake was made. |
connection_state | |
cryptography | |
handshake |
Creates and reads CryptoAuth Hello packets |
handshake_packet |
Contains the |
keys | |
passwords | |
session |
Contains the |
Structs
CAWrapper |
Main wrapper class around a connection. Provides methods to encrypt and decrypt messages. |
PublicKey |
|
SecretKey |
|
Functions
init |
Initializes fcp_cryptoauth. Must be called before any feature is used. |