pub fn hash_to_binary(hash: &[u8]) -> String {
    let mut res: String = String::default();
    for c in hash {
        res.push_str(&format!("{:b}", c));
    }
    res
}
/// Takes a hash slice, and returns the binary representation.
Takes a hash slice, and returns the binary representation.
Takes a hash slice and returns the binary representation .
pub fn hash_to_binary(hash: &[u8]) -> String {
    let mut res: String = String::default();
    for c in hash {
        res.push_str(&format!("{:b}", c));
    }
    res
}
pub fn hash_to_binary ( hash : & [ u8 ] ) -> String { let mut res : String = String :: default ( ) ; for c in hash { res . push_str ( & format ! ( " " c ) ) ; } res }
Takes a hash slice, and returns the binary representation.
Takes a hash slice and returns the binary representation .
hash
&[u8]