Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Rate My Awesome Cryptographic Hash Algorithm

Name: Anonymous 2014-05-25 20:36


unsigned long hash(unsigned char *str)
{
unsigned int hash = 0;
int c;

while (c = *str++)
{
hash += c;
}

return hash;
}


Spent hours designing it. It is safer than md5!

Name: Anonymous 2014-05-26 1:54

how about this one?


unsigned long hash(unsigned char *str)
{
unsigned int hash = 0;
int i;

srand(time(NULL));

for (i = 0; i < 100; i++) {
hash += rand();
}

return hash;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List