As per request in this thread: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=207714
This example generates a small 4-byte hexadecimal password based on two values. You could expand this method to store more data by adding more bytes (it's a little less simple than I make it to be lol). The value is secured with a simple XOR cipher that can create multiple passwords for the same set of values, while making it harder to craft a password by hand.
Hope this is useful