[PATCH] vmod_digest

Laurence Rowe l at lrowe.co.uk
Thu Oct 13 19:45:54 CEST 2011


On 11 October 2011 13:39, Kristian Lyngstol
<kristian at varnish-software.com> wrote:
> On Tue, Oct 11, 2011 at 02:26:03PM +0200, Nils Goroll wrote:
>> Hi,
>>
>> > Do you plan to release a newer version soon or do I start with what you posted and try to continue ?
>>
>> Tollef had the same intention. Any news, Tollef?
>
> We (Varnish Software) released a mhash-based libvmod-digest a few weeks
> ago, which also supply a few base64-dialects. Feature requests are
> welcome.
>
> It's available from https://github.com/varnish/libvmod-digest

Cool!

How do you handle null bytes in the strings returned by digest.hash* /
digest.hmac* / digest.base64*decode ? I was under the impression
varnish used null terminated strings internally.

Laurence




More information about the varnish-dev mailing list