I'm creating a fairly simple database program for a friend, but since it will be storing info about a lot of people, I need to make sure the system is locked up (data protection act). There isn't really any risk of the data being stolen since the program will be run on a personal computer and it's existance isn't going to be publicised.
So, will I be okay to simply store his password in the registry? If I have to encrypt it: How? I've tried to find algorithms for encrypting short pieces of text but everything seems to be for encrypting entire files with a key of about 16 bytes.
More importantly, I want to store all the data in ini's, purely because there's no string length limit for names and addresses and whatnot like there is with a record system. So, I will probably have to encrypt those files too; again does anyone have a fairly simple and secure way to do this?
Thanx in advance
Delphi's all I know btw, so anything in C is useless to me :S