Add SHA-256 to proto, wrapping the emsha crate

Implemented-By: Laguna S 2.1 (OpenCode)
This commit is contained in:
2026-09-17 14:11:51 -07:00
parent db0ba081db
commit bc1e727c19
8 changed files with 156 additions and 0 deletions
+2
View File
@@ -4,6 +4,7 @@ pub mod audit;
pub mod class;
pub mod frame;
pub mod grant;
pub mod hash;
pub mod ids;
pub mod log;
pub mod wire;
@@ -12,6 +13,7 @@ pub use audit::{AuditRecord, DecisionRecord};
pub use class::DataClass;
pub use frame::{FrameError, MAX_FRAME, read_frame, write_frame};
pub use grant::{Constraints, Grant, Mode};
pub use hash::{HashError, Sha256, sha256};
pub use ids::{CallId, Epoch, Hash32, SessionId, Timestamp, ValueError};
pub use log::{LogRecord, ToolCall};
pub use wire::{