Module: sip-router Branch: master Commit: 48e2695dfb8a0a45e09ff555121a53293bddda3c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=48e2695d...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Thu Mar 29 21:56:00 2012 +0100
modules_k/cfgutils: Added note about the core_hash function not being secure to the README
---
modules_k/cfgutils/README | 4 ++++ modules_k/cfgutils/doc/cfgutils_admin.xml | 5 +++++ 2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/modules_k/cfgutils/README b/modules_k/cfgutils/README index 694cf74..7df91b1 100644 --- a/modules_k/cfgutils/README +++ b/modules_k/cfgutils/README @@ -513,6 +513,10 @@ unlock("$rU"); Exported function that enables the core_hash() function to be used from the configuration file.
+ This is a quick and simple hash function and it is not + cryptographically secure. This function should not be used for any + security related purposes. + Parameters: * “string1” first string to hash * “string2” (optional) second string to hash (set to "" if not diff --git a/modules_k/cfgutils/doc/cfgutils_admin.xml b/modules_k/cfgutils/doc/cfgutils_admin.xml index f391e1d..1ae6192 100644 --- a/modules_k/cfgutils/doc/cfgutils_admin.xml +++ b/modules_k/cfgutils/doc/cfgutils_admin.xml @@ -530,6 +530,11 @@ unlock("$rU"); Exported function that enables the core_hash() function to be used from the configuration file. </para> + <para> + This is a quick and simple hash function and it is not + cryptographically secure. This function should not be used for + any security related purposes. + </para> <para>Parameters:</para> <itemizedlist> <listitem>