v3 consent to attribute release : attribute hash function ?

Ian Young ian at iay.org.uk
Mon Sep 8 12:28:05 EDT 2014


On 8 Sep 2014, at 17:09, Tom Zeller <tzeller at dragonacea.biz> wrote:

> When calculating the hash of attribute values used to determine if any
> values have changed since consent was last granted, should v3 use the
> DataSealer ? Maybe that's overkill for client-side storage since the
> DataSealer will be used again on the cookie. Currently, uApprove hex
> encodes the SHA-256 message digest of the concatenated values of an
> attribute. If the DataSealer should not be used in v3, it seems
> GZIP'ing and Base64 encoding, like the DataSealer does, would reduce
> storage size.

Base64 encoding would be smaller than hex encoding, but I don't understand what you're saying about compression. Compressing the input of the hash won't change the size of the output, and you can't compress the output of the hash prior to encoding, that would just make it bigger on average.

	-- Ian



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5943 bytes
Desc: not available
Url : http://shibboleth.net/pipermail/dev/attachments/20140908/951708df/attachment.bin 


More information about the dev mailing list