Page 1 of 1

PHP Security update

Posted: Sun Feb 26, 2012 2:00 pm
by bowersbros
MD5 and SHA1 have been found to have several flaws, and shouldnt really be used for security purposes. They can be cracked fairly easily.

To compensate for this, SHA-2 was produced, which although similar to SHA1, the same flaws couldn't be found.

In 2005, however. Flaws were found with SHA2.

SHA3 is currently in production, and is due to be released in 2012.

When it does get released, which should be in the Q3 or 4 of this year I believe; we should try to adopt it as quickly as possible.

http://en.wikipedia.org/wiki/MD5
http://en.wikipedia.org/wiki/SHA-2

Re: PHP Security update

Posted: Mon Feb 27, 2012 4:52 am
by Curia
And hopefully a fatal flaw isnt found to fast in it either. There isnt a current "beta" style kit for it is there? Although being a security encryption, they probs dont really want to release one.

Re: PHP Security update

Posted: Mon Feb 27, 2012 11:51 am
by jacek
All types of hash are crackable with enough time and enough CPU power.

It's worth thinking about, but for the stuff we normally deal with here it makes more sense to worry about stopping people getting hold of the hashes.

Re: PHP Security update

Posted: Wed Feb 29, 2012 7:46 am
by EcazS
Enough time and enough CPU power AND enough GPU power.... :roll:

Re: PHP Security update

Posted: Wed Feb 29, 2012 5:48 pm
by bowersbros
Or when they build a sufficient quantum computer, it will be able to do every single possability at once.

That will be the day hackers take over :P

Re: PHP Security update

Posted: Wed Feb 29, 2012 6:06 pm
by jacek
EcazS wrote:Enough time and enough CPU power AND enough GPU power.... :roll:

A GPU is just a CPU with many many cores and dedicated to graphics processing.

Re: PHP Security update

Posted: Wed Feb 29, 2012 7:36 pm
by EcazS
jacek wrote:A GPU is just a CPU with many many cores and dedicated to graphics processing.


Exactly