Skip to main content

Crate tibet_zip_core

Crate tibet_zip_core 

Source
Expand description

tbz-core: Block format, TIBET envelope, and zstd frame handling

This crate defines the TBZ wire format — per-block authenticated compression built on zstd frames with TIBET provenance.

Modules§

block
TBZ block: header + TIBET envelope + zstd payload + signature
envelope
TIBET envelope: provenance metadata per block
manifest
TBZ Manifest: Block 0 of every archive
signature
Ed25519 signing and verification for TBZ blocks
stream
Streaming TBZ reader and writer

Structs§

SigningKey
ed25519 signing key which can be used to produce signatures.
VerifyingKey
An ed25519 public key.

Enums§

BlockType
Block types

Constants§

MAGIC
TBZ magic bytes: 0x54425A (ASCII “TBZ”)
VERSION
Current TBZ format version

Type Aliases§

JisLevel
JIS authorization level for a block