Expand description
Misc helper functions.
Re-exports§
pub use tags::FilteredMsgRelay;
pub use tags::Round;
Modules§
- tags
- tags Module for handling message tags and message relay functionality.
Structs§
- Encrypted
Message - A wrapper for a message of type T with support for in-place encryption/decryption.
- Message
Tag - MsgHdr
- Signed
Message - A wrapper for a message of type T with support for in-place signing and verifying.
Traits§
- Encryption
Scheme - Represents an encryption scheme interface for in-place AEAD and managing key exchange.
- Fixed
External Size - A type with fixed size of external representation.
- Relay
- Wrap
- A type with some external represention.
Functions§
- check_
abort - Returns passed error if msg is a vaild abort message.
- create_
abort_ message - Create an Abort Message.
- decode_
affine - Encode AffinePoint
- decode_
nonzero - Decode a NonZeroScalar
- decode_
point - Decode ProjectivePoint
- decode_
scalar - Decode a scalar
- encode_
affine - Encode AffinePoint
- encode_
point - Encode ProjectivePoint
- encode_
scalar - Encode a scalar
Type Aliases§
- Point
Bytes - External representation of a point on a curve
- Scalar
Bytes - External Scalar representation
- Scheme
- Default encryption scheme using X25519 key exchange and ChaCha20Poly1305 for encryption.