Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 326341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:18:01+00:00 2026-05-12T09:18:01+00:00

how can i know value of string which is used as salt for joomla

  • 0

how can i know value of string which is used as salt for joomla salt enhanced password encryption??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:18:02+00:00Added an answer on May 12, 2026 at 9:18 am

    Joomla generates a random salt for each password. Here you can find valuable information on how to work with the joomla methods to generate passwords:

    http://forum.joomla.org/viewtopic.php?f=476&t=308499

    From that bit you can see that the salt is stored after the password with a colon as delimiter.

    $salt = JUserHelper::genRandomPassword(32);
    $crypt = JUserHelper::getCryptedPassword("blabla", $salt);
    $password = $crypt . ':' . $salt;
    

    [EDIT]
    I just needed to write an Authorisiation Validator with Zend_Auth to validate against a Joomla (1.0) install and I thought I’d update the information here about it. A snip of my code.

    $dbAdapter = Zend_Registry::get('jdb');
    $this->_authAdapter = new Zend_Auth_Adapter_DbTable($dbAdapter);
    $this->_authAdapter->setTableName('jos_users')
    ->setIdentityColumn('username')
    ->setCredentialColumn('password');
    
    //Joomla 1.0 uses hashes in the form md5(passwort + salt) + salt
    $users = new Users();
    $hash = $users->getHash($value);
    $salt = substr($hash, strpos($hash, ':') + 1);
    $password = md5($context['password'] . $salt) . ':' . $salt;
    

    [/EDIT]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that for an integer, you can use: int value; I tried: string
How can I know if a VARCHAR field's value can be successfully converted to
I would like to know how can i read a value of input text
Does anyone know how I can get the value of an input box, without
I know C# has both value and reference types, but how can you do
I want to know if I can repopulate the autoincrement value in mysql. Because,
As I know, I can use global variable transfer the value among the multi
There is an operator ? : in Java which can be used to select
Suppose I have a given object of type IEnumerable<string> which is the return value
In C++, if I want to define some non-local const string which can be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.