Here, try the attached script. For the pin, I used libSearch, so entering a pin is just like searching
. There is no pin when you first start out, so just choose "execute search" to access the menu. When a pin is set, it is saved in a file encoded. Although you can not read the password plaintext, it is still easy to decode it. When a plugin is disabled, it's extension just changes, nothing else.
Edit: I am going to try to remake this as a plugin in c#. It will use a cryptographic hashing function to protect and verify the pin and encrypt disabled files using the plaintext pin as a symmetric key. Should be very secure.
Last edited on July 22, 2012 at 12:27