misplacedme Posted November 2, 2009 Share Posted November 2, 2009 Hey there, I was recently asked to import an hsphere database to WHMCS, and was needing a little help with the encrypted items. How are passwords encrypted, and how is the users salt determined? Is there a function somewhere so I can encrypt the credit card info? If there is an import script for hsphere already, please point it out to me, and thanks to any help. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted November 3, 2009 Share Posted November 3, 2009 How do you encrypt info for WHMCS you mean? Client Passwords are MD5 as of v4 (a recent release added back passwords using an encryption though, I believe there is a setting that you can check to determine which method, md5 or encryption, is supposed to be used for the passwords). control panel passwords and cc info are still in the older encrypted format. WHMCS has encrypt / decrypt functions that take 2 arguments: the value being used, and the encryption hash (aka salt) 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 3, 2009 WHMCS Support Manager Share Posted November 3, 2009 a recent release added back passwords using an encryption though, I believe there is a setting that you can check to determine which method, md5 or encryption, is supposed to be used for the passwords. Yup. Setup > General Settings > Security tab. 0 Quote Link to comment Share on other sites More sharing options...
misplacedme Posted November 3, 2009 Author Share Posted November 3, 2009 WHMCS has encrypt / decrypt functions that take 2 arguments: the value being used, and the encryption hash (aka salt) How do I access/use those functions? 0 Quote Link to comment Share on other sites More sharing options...
misplacedme Posted November 4, 2009 Author Share Posted November 4, 2009 Never mind, I can just use the api. 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.