On Sunday 06 March 2005 00:29, Vlad Seryakov wrote:
> Hi guys,
> 
> So what is the final word about adding ns_sha1 in the core?
> I would really like to add it and eliminate additional requirement for 
> naviserver installation for third party module.
> 

I have no problem with adding such command.
I'm not the crypto expert so you must maybe help me understand...

So,

  set hash [ns_sha1 my_secret_string]

gives me the hash value

But, I can imagine:

  set hash [ns_md5 my_secret_string]

to be of the same functionality, or?

So, what I'd maybe do is:

  set hash [ns_hash sha1 my_string]
  set hash [ns_hash md5 my_string]

or something similar. 

We have made the md5 hash extension for us already.
I have it in one of the numerous modules we have
written for AS. I can imagine we can invent a 
wrapper command which would server as a central hashing
repository. 

> -- 
> Vlad Seryakov
> 571 262-8608 office
> [EMAIL PROTECTED]
> http://www.crystalballinc.com/vlad/
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> naviserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
> 


Reply via email to