Password creation and authentication using Crypt