Checking password working with encryption.