I'm trying to make a password book for my computer science class. The one problem I face is how to encrypt and decrypt it. I have it so the array writes to a file, so what I'm asking is if there is a way to encrypt the array before writing to the file and then decrypt when reading the file.
So far this is my string, but I have it so you type in the website, username and password.
public String pass[][] = new String[][]{
{"Username", "Password", "Password Hint"},
{"admin", "d2gg6ag", "No password hint!"}
};
Thanks!