Posted By

builtnoble on 10/05/10


Tagged

utility hash hashing


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

guziec


Simple Hash


 / Published in: PHP
 

A simple hash function I use from time to time

  1. function hashpipe($str) {
  2. $salt = strlen($str);
  3. $salt .= md5($str);
  4.  
  5. return md5($salt);
  6. }

Report this snippet  

You need to login to post a comment.