collapsing CityHashCrc256 to 20 bytes

32 views
Skip to first unread message

aj.bea...@gmail.com

unread,
Dec 1, 2014, 1:32:16 PM12/1/14
to cityhash...@googlegroups.com
Hi,
I have a need to fold a 32 byte CityHashCrc256 down to 20 bytes.   Would there be a preferred way to do this to preserve the quality of the result?  Would simple truncation suffice, or possibly XORing some of the bits into a smaller set?

thanks!
aj

pikeg...@gmail.com

unread,
Dec 1, 2014, 2:42:47 PM12/1/14
to cityhash...@googlegroups.com
Truncation should be fine.

Geoff
Reply all
Reply to author
Forward
0 new messages