Skip to main content

Crate beaconcrypt

Crate beaconcrypt 

Source

Re-exports§

pub use beaconcrypt_crypto as crypto;

Structs§

Beacon
Opaque beacon handle exposed by the C API and owned by its caller.
CachedRowServer
A row server with a bounded cache of decoded peers and their exact committed row bytes.
CipherTextError
DecodingError
Decrypted
DecryptionError
EncodingError
Encrypted
KeyGenError
MldsaIdentity
A secret ML-DSA-65 identity reconstructed from a 32-byte seed.
PersistentServer
A server whose state-changing results are released only after durable CAS.
RatchetSnapshot
An inert, serialization-only view of ratchet state.
RatchetStatus
Non-secret progress metadata for an established symmetric ratchet.
RegResponse
RegistrationOutput
RowMessage
Message material available to a trusted transaction callback before commit.
RowRegistrationError
RowServer
A database-independent server that loads and commits only the affected peer.
RowSession
A callback-scoped view of one trusted storage transaction.
RowTransition
The effect of one native operation in the current transaction.
Server
ServerSnapshot
Inert server-state bytes supplied by a trusted SnapshotStore.
SignatureError
SnapshotHead
The value compared atomically by a SnapshotStore.
SnapshotLineage
Stable, non-secret identifier for one persistence lineage.

Enums§

PersistenceError
RowError
Failure of row storage, validation, or durable publication.
RowRegistrationDecision
Choose an application result after registration preflight, or continue after durable acceptance.
RowRegistrationPhase
The transaction that reported a registration failure.
SendOutcome
The operational effect of one send attempt.
SignType

Constants§

AEAD_KEY_LEN
crypto_aead::chacha20poly1305_ietf::KEYBYTES
AEAD_NONCE_LEN
crypto_aead::chacha20poly1305_ietf::NPUBBYTES
DH_OUT_LEN
crypto_scalarmult::BYTES
ED25519_SEED_SIZE
KDF_RATCHET_OUTPUT_LEN
KDF_STATE_SIZE
KEX_KDF_OUT_LEN
MAX_MESSAGE_SIZE
Maximum complete encoded transport message size in bytes, including all framing.
MLDSA_PUBLIC_KEY_LEN
MLDSA_SIGNATURE_LEN

Traits§

ProviderBeacon
ProviderServer
RowStore
Trusted, serializable, durable transactions over opaque rows.
RowTransaction
The row operations available inside one application-owned database transaction.
SnapshotStore
Linearizable durable storage for one server lineage.

Type Aliases§

RecvState
SendState