miniproto.crypto.native.sha256_digest
miniproto.crypto.native.sha256_digest
Section titled “miniproto.crypto.native.sha256_digest”sha256_digest(data: bytes) -> bytesCompute a SHA-256 digest.
Parameters:
- data (
bytes) – Input bytes to hash.
Returns:
bytes– The 32-byte digest.
This public helper uses the Python stdlib fallback so its behavior and performance do not imply Rust dispatch.