Commons Codec already has:

org.apache.commons.codec.digest.PureJavaCrc32
org.apache.commons.codec.digest.PureJavaCrc32C

This is in SVN slated for 1.11.

Gary


On Tue, Jan 24, 2017 at 1:08 AM, Stefan Bodewig <bode...@apache.org> wrote:

> Hi
>
> inside of [compress] we've already got an implementation of CRC32C (used
> by Snappy, "borrowed" from Hadoop) and will soonish have xxhash32 (used
> by LZ4).
>
> I was wondering whether these implementations would belong in one of the
> other components (as well as - rather than instead of - compress) but
> I'm not sure where it would fit.
>
> [codec] and [io] could be candidates but neither holds any
> java.util.zip.Checksum implementations as of now.
>
> Neither CRC32C nor xxhash32 are cryptographic hashes so using codec's
> digest package feels wrong.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to