'Get a unique numeric ID from a String

I'm building an app which should help me to translate some text area, based on Laravel to have a cloud based dictionar to share with other people.

My question is: looking trough php function i found hash crc32 md5 sha1, which function is more fast?? The security is not necessary, I just need a checksum for connect the original language to the other using the same checksum

Ex: English is the original language

English table "Hello Wolrd" -> id (checksum) 29434089525 German table id 29434089525 will return "Hallo Welt" Italin table id 29434089525 wiil have "Ciao Mondo"

The table have relationship so I will get in one time all the translation with a query.

The String usually are not longher than 200char, but can be more than 50.000, so I need to consider a possible collision??

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source