[xslt] [PATCH] new crypto namespace and hash functions for libexslt

the attached patch implements a new crypto namespace for libexslt.
the following stylesheet shows the 3 implemented functions: md5sum,
sha1sum, and ripemd160sum:

<xsl:stylesheet version="1.0"

  <xsl:template match="foo/bar">
    md5sum=<xsl:value-of select="crypto:md5sum(.)"/>
    sha1sum=<xsl:value-of select="crypto:sha1sum(.)"/>
    ripemd160sum=<xsl:value-of select="crypto:ripemd160sum(.)"/>


the patch makes libexslt and by extension ;) xsltproc dependent
on openssl. if this is acceptable, please accept this patch for inclusion.
if not, let me know what i can do to fix any blocking issues. thanks!

i hope in the future other crypto functions can be added to this namespace.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]