Jump to content

Eps

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by Eps

  1. From an attackers point of view - If they see the data/encrypted password, how are they to know it is SHA1(md5())? They may just spend their attempts just trying to crack md5(); or sha1(); instead of the combination. Rainbow tables will be skewed by adding in the sha1();. Salt is defiantly the way to go if you really do want a security blanket though. I have personally used sha1(md5($pass)); and must say it worked but it was never used in a large environment. Blah blah backup etc.. Good luck!
  2. Thank you very much JCBones! I can understand how this works and is exactly what I was looking for.
  3. Hi Guys, Still looking for some advice here. If anyone could help, it would be great
  4. to clarify, I want Array( [<NAME>] => <VALUE>, ID2 => "2300", ID3 => "2000"). Thanks
  5. Hi all! This is probably fairly simple for someone who is used to dealing with arrays. I have an array of data(Parsed from an XML document) containing a string I would like to further split into another array. The string is along the lines of: "<name>":<value>,"ID":20251,"ID2":2300,"ID3":2000 How can I split the above into: Array[<NAME>] => <VALUE> Notes: <name> changes often. depending on the query, it may have different <name> values. I have been trying to do it with preg_split and got to: Array ( [0] => "<NAME>":<VALUE> [1] => "ID":20251) but I need to split it further at ":". I tried a foreach, but I failed miserably. Can anyone point me in the direction of better practice for arrays/preg_split? I have looked into the PHP documentation, but it is not enough for me. Thanks in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.