Crate box_stream [−] [src]
Implementation of the box-stream encryption protocol. This crate provides structs which wrap (async) readers and/or writers, decrypting all reads and encrypting all writes.
Low-level bindings to box-stream-c. You probably don't need to use this module directly.
Wraps a duplex stream, encrypting all writes and decrypting all reads.
Wraps a reader, decrypting all reads.
Wraps a writer, encrypting all writes.
The error value signaling that a header claims an invalid packet length.
The error value signaling that the box stream reached an unauthenticated eof.
The error value signaling that a header is not correctly authenticated.
The error value used signaling that a packet is not correctly authenticated.