-rw-r--r-- 135 saferewrite-20240515/src/sha256_200bytes/rust_sha2/src/lib.rs raw
use sha2::{Sha256,Digest}; pub fn sha256_200bytes(out:&mut[u8;32],m:&[u8]) { let h = Sha256::digest(m); out.copy_from_slice(&h) }