pub fn bit(key: &[u8], i: usize) -> u8
Extract bit i of key, MSB-first: bit 0 is the most-significant bit of key[0]. Caller must ensure i < 8 * key.len().
i
key
key[0]
i < 8 * key.len()