mirror of
https://github.com/strophe/libstrophe.git
synced 2026-07-27 23:56:21 +00:00
crypto: add public function xmpp_sha1_digest()
For example, XEP-0115 requires binary digest to be base64-encoded. Add short function to simplify such a digest computation for a single buffer. This function doesn't allocate memory. Therefore, it can't fail and doesn't require strophe context (xmpp_ctx_t).
This commit is contained in:
Reference in New Issue
Block a user