PHP == 的災難...

Twitter 上看到這樣的說明:

原因出自:

php > var_dump(md5('240610708'));
string(32) "0e462097431906509019562988736854"
php > var_dump(md5('QNKCDZO'));
string(32) "0e830400451993494058024219903391"

施主,這 hex 與科學表示法好雷啊...

This entry was posted in Computer, Murmuring, Programming, Security, Software and tagged , . Bookmark the permalink.

2 Responses to PHP == 的災難...

  1. Applepig says:

    這是從真實發生的case找出來的,還是有一邊是硬算的...?

Leave a Reply

Your email address will not be published. Required fields are marked *