Encrypt password for storage and html