I am basically planning phrases to become put in the database, they might be malformed so I wish to store a brief hash of these rather (I'll be simply evaluating when they exist or otherwise, so hash is perfect).

I suppose MD5 is rather slow on 100,000+ demands and so i wanted to be aware what will be the most practical way to hash the phrases, maybe moving out my very own hash function or using hash('md4', '...' could be faster ultimately?

I understand MySQL has MD5(), to ensure that would complement a little of speed around the query finish, but maybe there's further a quicker hashing function in MySQL I'm not sure about this works with PHP..