User Password Encryption Policy and Exporting User Passwords

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
tonygets
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Wed Jul 15, 2009 4:32 pm

User Password Encryption Policy and Exporting User Passwords

Post by tonygets » Wed Sep 15, 2010 1:10 am

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

User avatar
s_ismail
Commander (CMDR)
Commander (CMDR)
Posts: 162
Joined: Mon Nov 09, 2009 12:20 am
Contact:

Re: User Password Encryption Policy and Exporting User Passwords

Post by s_ismail » Wed Sep 15, 2010 2:36 am

You can encrypt password for ablecommerce like this

Code: Select all

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

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Re: User Password Encryption Policy and Exporting User Passwords

Post by plugables » Wed Sep 15, 2010 9:12 am

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

tonygets
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Wed Jul 15, 2009 4:32 pm

Re: User Password Encryption Policy and Exporting User Passwords

Post by tonygets » Mon Sep 27, 2010 6:46 am

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

Post Reply