Digests and data encoding in Varnish

Nils Goroll slink at schokola.de
Mon Sep 27 13:14:00 CEST 2010


> I would simply write a vmod with digest functions somewhat like:
> 
> 	md5_hex(STRING_LIST input)
> 	sha25_base64(STRING_LIST input)
> 
> and be done with it.

Yes, for the time being that will probably be the simplest solution. If it turns
out to be worth it later, we can still make the code more generic.

So I'll write different function permutations returning things like string
encodings and int (cut-off).

Thanks, Nils




More information about the varnish-dev mailing list