Module: kamailio
Branch: master
Commit: 4f1072127b9ba32190efda91f1a0d073483315d2
URL: 
https://github.com/kamailio/kamailio/commit/4f1072127b9ba32190efda91f1a0d073483315d2

Author: Kamailio Dev <[email protected]>
Committer: Kamailio Dev <[email protected]>
Date: 2026-07-08T12:16:07+02:00

modules: readme files regenerated - gcrypt ... [skip ci]

---

Modified: src/modules/gcrypt/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/4f1072127b9ba32190efda91f1a0d073483315d2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4f1072127b9ba32190efda91f1a0d073483315d2.patch

---

diff --git a/src/modules/gcrypt/README b/src/modules/gcrypt/README
index 4fa6c53d74a..2f50a60f64e 100644
--- a/src/modules/gcrypt/README
+++ b/src/modules/gcrypt/README
@@ -34,6 +34,7 @@ Daniel-Constantin Mierla
               4.1. gcrypt_aes_encrypt(text, key, res)
               4.2. gcrypt_aes_decrypt(text, key, res)
               4.3. gcrypt_hmac_sha256(text, key, res)
+              4.4. gcrypt_hmac_sha512(text, key, res)
 
    List of Examples
 
@@ -43,6 +44,7 @@ Daniel-Constantin Mierla
    1.4. gcrypt_aes_encrypt usage
    1.5. gcrypt_aes_decrypt usage
    1.6. gcrypt_hmac_sha256 usage
+   1.7. gcrypt_hmac_sha512 usage
 
 Chapter 1. Admin Guide
 
@@ -65,6 +67,7 @@ Chapter 1. Admin Guide
         4.1. gcrypt_aes_encrypt(text, key, res)
         4.2. gcrypt_aes_decrypt(text, key, res)
         4.3. gcrypt_hmac_sha256(text, key, res)
+        4.4. gcrypt_hmac_sha512(text, key, res)
 
 1. Overview
 
@@ -140,6 +143,7 @@ modparam("gcrypt", "register_callid", 1)
    4.1. gcrypt_aes_encrypt(text, key, res)
    4.2. gcrypt_aes_decrypt(text, key, res)
    4.3. gcrypt_hmac_sha256(text, key, res)
+   4.4. gcrypt_hmac_sha512(text, key, res)
 
 4.1.  gcrypt_aes_encrypt(text, key, res)
 
@@ -182,3 +186,17 @@ gcrypt_aes_decrypt("$var(encrypted)", "my-secret-key", 
"$var(text)");
 ...
 gcrypt_hmac_sha256("$var(text)", "my-secret-key", "$var(hmac)");
 ...
+
+4.4.  gcrypt_hmac_sha512(text, key, res)
+
+   Computes the HMAC-SHA512 of the text using the key and stores the
+   result encoded in base64url format in res. The parameter res must be a
+   read-write variable. The parameters text and key can be static strings
+   or strings with variables (dynamic strings).
+
+   This function can be used from ANY_ROUTE.
+
+   Example 1.7. gcrypt_hmac_sha512 usage
+...
+gcrypt_hmac_sha512("$var(text)", "my-secret-key", "$var(hmac)");
+...

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to