def hashToBinary(hashValue):
    """Convert hashed value of type bytes32 into an array of binary digits in a string"""
    tmp = bin(int(hashValue, 16))[2:];
    prefix = '0' * (256 - len(tmp))
    return prefix + tmp;