reader.decrypt(パスワード)
writer.encrypt(パスワード)
if reader.decrypt(パスワード):
if not reader.decrypt(パスワード):
reader.is_encrypted