Hi,
I'm using C++, and need to store a password in a config file and I don't think plain text is a good idea. Whats the best way to do this?
I don't really want the user to have to provide a key every time they start the program to decrypt settings, so I think im going to have to store the encryption key inside the program, but that's got to be better than plain text?
Has anyone done this before? I suppose ideally i just want a simple encrypt & decrypt function that i can pass a string to, but i have no idea what algorithm to use.
Thanks,
Jack
I'm using C++, and need to store a password in a config file and I don't think plain text is a good idea. Whats the best way to do this?
I don't really want the user to have to provide a key every time they start the program to decrypt settings, so I think im going to have to store the encryption key inside the program, but that's got to be better than plain text?
Has anyone done this before? I suppose ideally i just want a simple encrypt & decrypt function that i can pass a string to, but i have no idea what algorithm to use.
Thanks,
Jack