On 13 October 2011 18:45, Laurence Rowe <[email protected]> wrote:
> On 11 October 2011 13:39, Kristian Lyngstol
> <[email protected]> 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.

>From reading the source I see that the hash and hmac functions return
hexdigests. Presumably it's assumed any base64 data you would be
interested in reading in Varnish would not contain null characters.

Laurence

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to