Crate box_stream [−] [src]
Implementation of the box-stream encryption protocol. This crate provides structs which wrap readers and/or writers, decrypting all reads and encrypting all writes. Also provides tokio's asynchronous reade and write traits.
Modules
crypto |
Low-level bindings to box-stream-c. You probably don't need to use this module directly. |
Structs
BoxDuplex |
Wraps a duplex stream, encrypting all writes and decrypting all reads. |
BoxReader |
Wraps a reader, decrypting all reads. |
BoxWriter |
Wraps a writer, encrypting all writes. |
Constants
FINAL_ERROR |
The error value used by |
INVALID_LENGTH |
The error value used by |
UNAUTHENTICATED_HEADER |
The error value used by |
UNAUTHENTICATED_PACKET |
The error value used by |