I was making a program that stores login information from a user, just so that they don't have to enter it every time. I was just wondering what sort of security measures I should take in storing the information in a file?

I know there's lots of ways to do things but I just don't think I can store the hashes only, and I was wondering what kinds of encryption might be good to use for this application