News:

AbanteCart v1.4.2 is released.

Main Menu
support

Encryption method in password?

Started by jlocker, June 29, 2013, 07:36:59 AM

Previous topic - Next topic

jlocker

What is the password encryption method in AbanteCart 1.1.5..

abantecart

md5 is used for password encryption.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

jlocker

okkk but waht is this??



   static function generatePassword($length = 8) {
      $chars = "1234567890abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
      $i = 0;
      $password = "";
      while ($i <= $length) {
         $password .= $chars{mt_rand(0, strlen($chars))};
         $i++;
      }
      return $password;
   }

abolabo

#3
it is not encryption. it's a generator of random password
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

jlocker

so if i save the password like md5($password) it will work or???

abolabo

no. we also use salt.

Why do you want to save password directly without ui?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

jlocker

because i'm trying to insert users without login to control panel using form..but password encryption is not working and i can't find the session..so if i can find the session name i can develop the product page. as in if i can restrict access to product page for each user..so to do that i have to store the session name(username)..but i can't find it.can you help me to do that.

Forum Rules Code of conduct
AbanteCart.com 2010 -