<p>Ok, I found one suitable implementation with MIT license, which is liberal (comparable to BSD) to be included in the core. I will strip it to the necessary parts and include it for now in lib/srutils (as it has already some other hash functions).<br>
After opening the master branch again it makes probably sense to split it into an own library (e.g. srcrypto). This could be also used for example from other modules like rtpengine, to get rid of the crypto/openssl dependency (for SHA1 hashing) again.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2077?email_source=notifications&email_token=ABO7UZOHX4QGDVIYDNTC4W3QMS2KDA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFCZAQ#issuecomment-537537666">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKWCQSXBC5VPR2NVWDQMS2KDANCNFSM4I23Q2LA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZPYQ7ES6I3PRYN2UJLQMS2KDA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFCZAQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2077?email_source=notifications\u0026email_token=ABO7UZOHX4QGDVIYDNTC4W3QMS2KDA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFCZAQ#issuecomment-537537666",
"url": "https://github.com/kamailio/kamailio/issues/2077?email_source=notifications\u0026email_token=ABO7UZOHX4QGDVIYDNTC4W3QMS2KDA5CNFSM4I23Q2LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFCZAQ#issuecomment-537537666",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>