Skip to main content

hash_application_plaintext

Function hash_application_plaintext 

Source
pub fn hash_application_plaintext(plaintext: &[u8]) -> [u8; 32]
Expand description

SHA-256 over the raw application plaintext — the v=2 hash for MessageKind::Application per [CR-6]. No kind byte, no envelope framing; cross-binding parity comes from canonical CBOR of the inner AppEvent.