[][src]Module dsf_core::crypto

Crypto module provides cryptographic interfaces and implementations for DSF

Re-exports

pub use sodium::*;

Modules

sodium

Crypto module provides cryptographic interfaces and implementations for DSF

Traits

Decrypter

Decrypter trait, used to decrypt data for a given service

Encrypter

Encrypter trait, used to encrypt data for a given service

Signer

Signer trait, used for generating page signatures

Validator

Validator trait, used for checking page signatures. This should return Ok(true) for success, Ok(false) for an unknown ID:Key pair or an error on a signature mismatch