how can i know value of string which is used as salt for joomla salt enhanced password encryption??
相关问题
- “Zero out” sensitive String data in Swift
- High cost encryption but less cost decryption
- How can I change the Joomla administrator URL By P
- C# Rijndael decryption returns extra question mark
- DECRYPTBYPASSPHRASE is not working after creating
相关文章
- Fatal error: Call to a member function getKeyName(
- decrypt TLS 1.2 AES-GCM packet
- Decrypting EnvelopedCms with non-default Algorithm
- C# AES Rijndael - detecting invalid passwords
- Sanity check SSH public key? [closed]
- data encryption and key management in c#
- What is an openssl iv, and why do I need a key and
- How to apply padding for Base64
If joomla is randomly generating the salt each time, how in the world does it validate user's logins against it. I thought normally the salted password was supposed to be stored somewhere as regular text and you validated against the hashed version of that and hashed password.
Not familiar with joomla in particular, but most salted passwords either contain the salt in the password string, seperated my a delimiter (typically $ or some other non alphanumeric character). Or it may be stored in a seperate column in the db table
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.
[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.
[/EDIT]
In the password field in the users table, it's the bit after the ":"
The formula is something like
password DB field = md5(password + salt) + ":" + salt