pub fn hash_all( sha: usize, hid: &[u8], xid: &[u8], xcid: Option<&[u8]>, sec: &[u8], y: &[u8], r: &[u8], w: &[u8], h: &mut [u8]) -> bool