I have recently seen that some software (such as SMF), allows you to create users directly from MYSQL, encrypting the passwords in the following way:
SHA1(CONCAT(LOWER('UserNickname'), 'UserPass'))
thus returning something "encryption". And well, I would like to implement something similar to a project, so I can have my users' passwords encrypted in the database.
But what I need help with is knowing how to "decrypt" the password. I can't think of any way