[sr-dev] [kamailio/kamailio] rtpengine: hashing algorithm not offering a good enough distribution (#1911)

Henning Westerholt notifications at github.com
Fri Mar 29 08:00:16 CET 2019


Just to add another comment here:
Using a "real" cryptographic hash function is of course better from mathematical Point of view. But it might be good enough to just use the CRC32 function, that e.g. also carrierroute uses. If I remember the 1&1 internal test suite good enough, this is for a larger number of request quite ok (+/- 1% accuracy). Have a look to the carrierroute module and to core/hash_func.[c,h]. This could save you a bit of work and would be usable without the openssl dependency.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1911#issuecomment-477891062
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190329/41074f3a/attachment.html>


More information about the sr-dev mailing list