Module: kamailio
Branch: master
Commit: 292cb6b62b998d52315092caa7028e4fb8855108
URL: 
https://github.com/kamailio/kamailio/commit/292cb6b62b998d52315092caa7028e4fb8855108

Author: Kamailio Dev <[email protected]>
Committer: Kamailio Dev <[email protected]>
Date: 2026-06-30T09:46:18+02:00

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

---

Modified: src/modules/gcrypt/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/292cb6b62b998d52315092caa7028e4fb8855108.diff
Patch: 
https://github.com/kamailio/kamailio/commit/292cb6b62b998d52315092caa7028e4fb8855108.patch

---

diff --git a/src/modules/gcrypt/README b/src/modules/gcrypt/README
index 3d7f9af4226..4fa6c53d74a 100644
--- a/src/modules/gcrypt/README
+++ b/src/modules/gcrypt/README
@@ -33,6 +33,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)
 
    List of Examples
 
@@ -41,6 +42,7 @@ Daniel-Constantin Mierla
    1.3. Set register_callid parameter
    1.4. gcrypt_aes_encrypt usage
    1.5. gcrypt_aes_decrypt usage
+   1.6. gcrypt_hmac_sha256 usage
 
 Chapter 1. Admin Guide
 
@@ -62,6 +64,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)
 
 1. Overview
 
@@ -136,6 +139,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.1.  gcrypt_aes_encrypt(text, key, res)
 
@@ -164,3 +168,17 @@ gcrypt_aes_encrypt("$rb", "my-secret-key", 
"$var(encrypted)");
 ...
 gcrypt_aes_decrypt("$var(encrypted)", "my-secret-key", "$var(text)");
 ...
+
+4.3.  gcrypt_hmac_sha256(text, key, res)
+
+   Computes the HMAC-SHA256 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.6. gcrypt_hmac_sha256 usage
+...
+gcrypt_hmac_sha256("$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