Jump to content

md5 encryption


Jay2391

Recommended Posts

There isn't really much to research. The top two comments in the manual already noted this.

Appearantly md5() does a poor job of converting the binary digest to hexidemal, performance wise.

Anyone care to try if this goes for hash() too? I'm lazy right now.. It's past midnight over here..

bin2hex(hash('SHA256',true))
Link to comment
Share on other sites

it only took me a second to add the hash, so I did it. For some reason I do not see the same results. - I ran it about 10 times - 2 times it was 3 times faster. The rest is was basically a dead heat.

Not that these .0001 seconds make a difference, but .0001 here in there in a very long script can add up I guess - especially with lots of traffic.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.