steelaz Posted October 18, 2010 Share Posted October 18, 2010 If I choose to disable MD5 hashing on clients password, will it be stored in plain text or encrypted? If encrypted, will it be possible to decrypt using "decryptpassword" API call or some build-in function? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 18, 2010 WHMCS CEO Share Posted October 18, 2010 When MD5 hashing is not being used then it doesn't revert to completely plain text, the passwords will be encrypted in the database and the API encrypt/decrypt functions can be used to convert the stored values back to the original or vica versa. Matt 0 Quote Link to comment Share on other sites More sharing options...
steelaz Posted October 18, 2010 Author Share Posted October 18, 2010 Matt, thank you for the answer. Is there a native WHMCS function I can use instead of going API route? I'm working on server module, so this decrypt function would be called from one of module hooks. 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted October 18, 2010 Share Posted October 18, 2010 Matt, thank you for the answer. Is there a native WHMCS function I can use instead of going API route? I'm working on server module, so this decrypt function would be called from one of module hooks. Try the WHMCS php-function decrypt(). 0 Quote Link to comment Share on other sites More sharing options...
steelaz Posted October 18, 2010 Author Share Posted October 18, 2010 Thanks m00, decrypt() did the trick. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.