I would like to ask about the encryption method!

Which method does nextcloud use to encrypt user passwords in the database ?

It is not encrypted, it is hashed:
https://www.php.net/manual/en/function.password-hash.php

It’s a one way function, so if I give you a password, you can easily check if it is the same of the hashed value (you hash the password I gave you, and add the salt, …).
The way back should be very hard, so telling the password based on a hash.

1 Like

Thank you very much for your answers