Fixed unnecessary hashing if passwordConfirm is not set;
Added option to specify the number of encryption rounds;