HashDepot Versions Save

.NET library for xxHash, FNV, MurmurHash3 and SipHash algorithms

3.1.0

1 year ago

Breaking changes

  • This version targets .NET 6.0.
  • Removed APIs that received byte[].
  • Removed all unsafe code. This had slight impact on performance, but thanks to the Span related optimizations, it's not as bad as it was in .NET Framework. There's still some use of Unsafe.ReadUnaligned for some perf improvements, but all that ugly pointer arithmetic has gone away for marginal cost for the better.
  • Removed .NET Standard 2.0 support (sorry, but new .NET is so nice to code, and maintaining #ifdefs is unnecessarily cumbersome)

Improvements

  • Memory use improved in async functions.
  • Benchmark now uses BenchmarkDotNet.

2.0.3

4 years ago

Breaking changes

  • FNV1 is now deprecated. Use FNV1a instead.

New features

  • Added big endian support for xxHash

Improvements

  • Stream-based xxHash functions are now significantly faster

2.0.2

4 years ago

New features

  • Added xxHash (both 32-bit and 64-bit flavors)
  • Added Stream interfaces (both blocking and async)

Breaking changes

  • Renamed SipHash to SipHash24 to denote its specific algorithm (SipHash 2-4)
  • Changed SipHash24.Hash128 return value from Span to byte[]

Fixes

  • Added missing tests (and fix related issues)
  • Add package license in new format
  • Included XML documentation in the package
  • Adapted the included license file to the new format (that's the only difference between 2.0.0 and 2.0.2)

1.3.0

5 years ago

Breaking changes:

  • HashDepot is .NET Standard 1.3 based now (which should work with all current .NET flavors

New features:

  • Span<T>-based API signatures so some memory sensitive operations can be completed faster.