(s)
return bin_sha256(bin_sha256(s))[:4]
Takes in a binary string and returns a checksum.
Takes in a binary string and returns a checksum.
Takes in a binary string and returns a checksum .
def bin_checksum(s):
    """ Takes in a binary string and returns a checksum. """
    return bin_sha256(bin_sha256(s))[:4]
def bin_checksum ( s ) : return bin_sha256 ( bin_sha256 ( s ) ) [ : 4 ]