Added functionality for encrypting data and hashing master passwords. Decryption implementation will be added later today. (There are still bugs in that code.)