def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def __init__(self, key):
        self.bs = 32
        self.key = hashlib.sha256(key.encode()).digest()