Blowfish decryptString encryptString not match?

I use Blowfish to decrypt the encrypted password got from database, then I get the right plain password.

But I encrypt the same plain password using the same blowfish, the encrypted password is different with the database.

What’s the problem?

Is there any way to change user’s password in a plugin?

I use “AuthFactory.encryptPassword(password)” to get the encrypted password, but it different with the one encrypted by “UserManager.createUser()”.

OK, I find the reason. It’s not a problem.

Although the password encrypted by “AuthFactory.encryptPassword(password)” is different with one in database,

but both of them can decrypted to the same plain password.