2005-01-12, 05:31 AM
ok ive got the logic down, and adding the pins now. logic is: you define a "master pin" in the configuration application, this allows you to add pins to any folder via the folder menu. when you click the "set pin" button it will ask for the master pin, and then check it (the pins are md5ed and stored as plain text, so dont worry no one will be able to find out what they are)once the master pin is verified it will allow you to enter a pin for the selected file (the md5s for each folder will be stored in the myvideos.xml which is used for the folder memory stuff). if you set the pin to "" nothing the pin will be removed. ill let the pin be of any length, and use a character specifed in the skin to display in textbox. ill set the skin to work best with a 4/5 pin number, but if you increase textbox length or decrease font you could make it fit any length.
oh if you dont know what md5 is, its a one way math function which generates a hash for the input string, this means that if you have the hash (which is stored as plain text) you cant reverse the process to get the original value, its a one way thing (its a really smart and well known algorithm, dont worry its 100% secure, that said, dont use your credit card pins sure its safe, but thats just silly.).
oh if you dont know what md5 is, its a one way math function which generates a hash for the input string, this means that if you have the hash (which is stored as plain text) you cant reverse the process to get the original value, its a one way thing (its a really smart and well known algorithm, dont worry its 100% secure, that said, dont use your credit card pins sure its safe, but thats just silly.).