'Returns random binary blob.
Default blob size is 1 Mb.'

@classmethod
def binary(cls, length=((1 * 1024) * 1024)):

    blob = [random.randrange(256) for o in range(length)]
    return (bytes(blob) if (sys.version_info[0] >= 3) else bytearray(blob))
