I have been asigned to start working on a encripter in java. I can have the porgram ask for a password. and it will encript it and send it to a txt file with 64 bit encription. the program reads the file and then askes the user for the password. which is then encripted and compared. the only problem is that i want it too read multiple lines and check the users input mulitaple time.
any ideas?

I am also working on a project that takes a txt with confedential data on it and is suposed to encript it and sent it to a cab file. it will only grad one line of the file that is being read and then stops. is there a way that it can encript the whole file and then send it to a txt file at least