I've recently been trying to make an application that allows you to encrypt and decrypt a text file, but that you can also transfer the keys and text files around. It's only really to further my somewhat limited Java Knowledge, but I cannont for the life of me find any good guides or tutorials.
All I want to do is, Generate an encryption key, Load a texfile, Encrypt the file with the key, Save the key to a seperate file, Email the file and Key to another machine, Load the key, Load the textfile, Decrypt the textfile.
Does this really require the use of Private and Public keys and the like?? I'm not worried about its security, its just an experiment, any help, pointers?