Expand description
cashweb-relay
is a library providing serialization/deserialization, encryption/decryption/verification of
structures in the Relay Protocol
.
Modules§
- This module contains re-exported
secp256k1
primitives. - This module contains the
Stamp
message and methods for verifying and constructing them.
Structs§
- Message authentication failed, the calculated HMAC did not match the one given.
- The primary message used in communication over the relay protocol.
- A page of messages. Pulled from server via HTTP.
- Collection of messages. Pushed from client to server via HTTP.
- The result of
open
oropen_in_place
. - Represents a Message post-parsing.
- Payload is the user-specified data section of the message that is encrypted by the shared secret.
- A page of payloads. Pulled from server via HTTP.
- A profile attached to an address.
Enums§
- Error associated with getting the
Message::payload_digest
. - Represents an encryption scheme.
- Error associated with
open
oropen_in_place
. - Error associated with
Message
parsing.
Functions§
- Authenticate the
Payload
and return the merged key. - Create the merged key from the source public key and destination private key.
- Create shared key.
- Encrypt a payload using a shared key.
- Encrypt a payload, in place, using a shared key.