-rw-r--r-- 135 saferewrite-20210915/src/sha512_300bytes/rust_sha2/src/lib.rs
use sha2::{Sha512,Digest}; pub fn sha512_300bytes(out:&mut[u8;64],m:&[u8]) { let h = Sha512::digest(m); out.copy_from_slice(&h) }