Hi,
How can we generate an MD5 encrypted password to update a password in Razor?
I now we need to append "DwSecret" to the password, right?
Nuno
Hi,
How can we generate an MD5 encrypted password to update a password in Razor?
I now we need to append "DwSecret" to the password, right?
Nuno
You can use Dynamicweb.Base.pwEncrypt to get an encrypted password (like the one generated in User Management):
@Dynamicweb.Base.pwEncrypt("test")
Is this a follow up question to your previous (and very old) question on PwToken [http://developer.dynamicweb-cms.com/forum/templates/pwtoken.aspx]?
Best regards,
Mikkel
Hi Mikkel,
That's perfect, thanks
Nuno
Hi Mikkel,
As I know you're using MD5 encryption? - this encryption method has shown to be pretty weak on modern websites - do you have plans on implementing a new encryption method? - or is it possible to do some custom encryption? - If possible, do you have any hints on how?
/MikkelTO
Stronger encryption (actually SHA-512 hashing) of user passwords will be implemented in Dynamicweb 8.6.
Best regards,
Mikkel
You must be logged in to post in the forum