Module: sip-router Branch: master Commit: 8afb4cdfdbb99be12d434a8d0ad2a2c26f0595d7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8afb4cdf...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Thu Mar 29 15:56:25 2012 +0100
modules_k/cfgutils: Added exported function for core_hash()
- This means you can calculate hashes on strings within the configuration file.
---
modules_k/cfgutils/README | 116 +++++++++++++++++------------ modules_k/cfgutils/cfgutils.c | 45 +++++++++++ modules_k/cfgutils/doc/cfgutils_admin.xml | 32 ++++++++ 3 files changed, 146 insertions(+), 47 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=8afb...
On Thursday 29 March 2012, Peter Dunkley wrote:
modules_k/cfgutils: Added exported function for core_hash()
- This means you can calculate hashes on strings within the configuration file.
Hi Peter,
just a quick note (you probably know about it) - don't use this hash for any security relevant functions, e.g. to derive a hash from a password. This hash is not cryptographically secure. Maybe this should be noted in the module documentation as well.
Viele Grüße/ best regards,
Henning Westerholt
Hi,
I have added this information to the documentation for the core_hash() exported function.
Thanks,
Peter
On Thursday 29 March 2012, Peter Dunkley wrote:
modules_k/cfgutils: Added exported function for core_hash()
- This means you can calculate hashes on strings within the configuration file.
Hi Peter,
just a quick note (you probably know about it) - don't use this hash for any security relevant functions, e.g. to derive a hash from a password. This hash is not cryptographically secure. Maybe this should be noted in the module documentation as well.
Viele Grüße/ best regards,
Henning Westerholt