def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def make_new_rsa_key_weak(bits):
    return RSA.generate(bits) # NOT OK