Added update master password (no mutex lock yet)
Added ciritical sections around public credential functions
Added array-version of Encrypt/Decrypt/Hash