I am making a program which requires me to store login information for users. I already have the code set up which creates a hashed Byte[] array of their passwords and salts them with another Byte[]. I would like to store their username, their password, and their salt in the same file, preferably something like username,password,hash.
All I have found so far are examples of storing only a Byte array. If anyone could point me in the right direction for writing and reading files like that, it would be great.
Thank you for any help you can give me.