Page 1 of 1

User Password Encryption Policy and Exporting User Passwords

Posted: Wed Sep 15, 2010 1:10 am
by tonygets
Hi,

I am currently using Ablecommerce 7.0.4.

I have read somewhere on the forums that AC encrypts user passwords in Base64 however on the help.ablecommerce site the password policy states that passwords are encrypted using SHA1 hash.

Please can someone confirm the exact password encryption policy so that I know what format I am exporting passwords in?

Please also let me know what additional information would be required to import the user passwords into a new CMS database system I am using (e.g. is salt required etc)?

Any help would be greatly appreciated.

Thanks and regards,

Tony

Re: User Password Encryption Policy and Exporting User Passwords

Posted: Wed Sep 15, 2010 2:36 am
by s_ismail
You can encrypt password for ablecommerce like this

Code: Select all

string password =CommerceBuilder.Users.UserPasswordHelper.EncodePassword(YourPassword, "SHA1");

Re: User Password Encryption Policy and Exporting User Passwords

Posted: Wed Sep 15, 2010 9:12 am
by plugables
tonygets wrote:Hi,

I am currently using Ablecommerce 7.0.4.

I have read somewhere on the forums that AC encrypts user passwords in Base64 however on the help.ablecommerce site the password policy states that passwords are encrypted using SHA1 hash.

Please can someone confirm the exact password encryption policy so that I know what format I am exporting passwords in?

Please also let me know what additional information would be required to import the user passwords into a new CMS database system I am using (e.g. is salt required etc)?

Any help would be greatly appreciated.

Thanks and regards,

Tony
Base64 is an encoding scheme whereas SHA1 is a hashing technique. They can not be compared together. From an encoded text you can recreate the original text. From a string hash you can not recreate the original text.

The default password format in AbleCommerce is SHA1, as documented in help.ablecommerce.com

Re: User Password Encryption Policy and Exporting User Passwords

Posted: Mon Sep 27, 2010 6:46 am
by tonygets
Hi again,

We are having trouble with the salt of the ablecommerce passwords. We are trying to import the SHA1 passwords into our new CRM however we do not know what salt is being used.

How do we figure out what salt to use when we import the passwords into our new CRM system?

Any help is greatly appreciated.

Thanks.

Tony