pub fn compute_sha1_with_str(data: &[u8], extra: &str) -> [u8; 20]