Crate scuttlebutt
source ·Expand description
Scuttlebutt provides many utility functions for cryptographic applications.
Re-exports§
pub use crate::channel::AbstractChannel;pub use crate::channel::Channel;pub use crate::channel::HashChannel;pub use crate::channel::SymChannel;pub use crate::channel::SyncChannel;pub use crate::channel::TrackChannel;pub use crate::channel::track_unix_channel_pair;pub use crate::channel::unix_channel_pair;pub use crate::channel::TrackUnixChannel;pub use crate::channel::UnixChannel;
Modules§
- Implementation of a bloom filter.
- Module for encapsulating communication channels for
swanky. - Implementation of a simple two-party coin tossing protocol using a PRG as a commitment.
- A trait defining a Commitment Scheme and an implementation in the random oracle model using SHA256.
- This module defines finite fields.
- Helper types to make using the
generic-arrayeasier. - This module defines finite rings.
- Serialization types for algebraic structures.
- Useful utility functions.
Structs§
- AES-128, encryption only.
- AES-256, encryption only.
- AES-based correlation-robust hash function.
- Implementation of a random number generator based on fixed-key AES.
- A 128-bit chunk.
- A 512-bit value.
- Sample
u32s uniformly from[0, bound).
Constants§
AesHashwith a fixed key.- Fixed-key AES-128.
Traits§
- A marker trait denoting that the given scheme is maliciously secure.
- A marker trait denoting that the given scheme is semi-honest secure.