//! WORM Seal: Write-Once-Read-Many Cryptographic Witnesses //! Seals are immutable once created and can be verified by anyone use serde::{Deserialize, Serialize}; use sha2::{Sha256, Digest}; /// WORM Seal structure /// Write-once: Seal cannot be modified after creation /// Read-many: Seal can be verified by anyone /// Timestamped: Unix timestamp for temporal ordering /// Content-addressed: Hash of label + payload + timestamp #[derive(Debug, Clone, Serialize, Deserialize)] pub struct WormSeal { pub label: String, pub payload: String, pub steps: u64, pub timestamp: u64, pub seal_hash: String, pub artifact: String, } impl WormSeal { /// Generate a new WORM seal /// Format: WORM: