Crate gstp

Source
Expand description

§Introduction

Gordian Sealed Transaction Protocol (GSTP) is a secure, transport-agnostic communication method enabling encrypted and signed data exchange between multiple parties. Built upon the Gordian Envelope specification, GSTP supports various transport mediums—including HTTP, raw TCP/IP, air-gapped protocols using QR codes, and NFC cards—by implementing its own encryption and signing protocols. A key feature of GSTP is Encrypted State Continuations (ESC), which embed encrypted state data directly into messages, eliminating the need for local state storage and enhancing security for devices with limited storage or requiring distributed state management. It facilitates both client-server and peer-to-peer architectures, ensuring secure and flexible communication across diverse platforms.

§Getting Started

[dependencies]
gstp = "0.8.0"

§Examples

See the unit tests in the source code for examples of how to use this library.

Modules§

prelude

Structs§

Continuation
SealedEvent
SealedRequest
SealedResponse

Traits§

SealedEventBehavior
SealedRequestBehavior
SealedResponseBehavior