budget/src/main/java/budget/backend/stores/TagStore.java
@Override
  public boolean writeFile(FileWriter out) {
    try {
      //TODO: encrypt data
      out.write(toString());
    } catch (IOException e) {
      e.printStackTrace();
      return false;
    }
    return true;
  }
/**
   * Write the information stored in the structure to a given file, and encrypt it with the user's public key. 
   * @param out
   */
Write the information stored in the structure to a given file, and encrypt it with the user's public key.
@param out
Write the information stored in the structure to a given file and encrypt it with the user ' s public key . @param out
@Override
  public boolean writeFile(FileWriter out) {
    try {
      out.write(toString());
    } catch (IOException e) {
      e.printStackTrace();
      return false;
    }
    return true;
  }
@ Override public boolean writeFile ( FileWriter out ) { try { out . write ( toString ( ) ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; return false ; } return true ; }
Write the information stored in the structure to a given file, and encrypt it with the user's public key.
Write the information stored in the structure to a given file and encrypt it with the user ' s public key .
//TODO: encrypt data