Giter Club home page Giter Club logo

xxhash.net's People

Contributors

rpliva avatar wilhelmliao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rpliva

xxhash.net's Issues

Switch to .NET Core framework

I think the package could easily be switched to .NET Core.

I integrated the source files into a .NET Core 2.0 project for debugging purposes and it worked just fine.

When using the NuGet package there will be a warning that the framework may not be compatible with .NET Core 2.0

InternalUpdateState64() processes wrong data from temp buffer which can result in an exception

InputTextStream p64 = new InputTextStream(state.mem64, (int)state.memsize);

The InputTextStream helper is initialized with an offset of "state.memsize" but the temp buffer must always be processed from the very beginning to the end.

The exception can be reproduced by updating the state with a single byte first and then updating it again with a bigger file.

Taking a look the code this is probably also true for InternalUpdateState32() but I have not tried to reproduce it with the 32 bit version.

Bug when computing hash from file using XXHash64 or State64!

I have tried to compute a hash from a file using State32 and the result is the same as the xxhsum.exe.
but when i tried to use State64 the computed hash result is wrong ( tried both XXHash64 and XXHash.State64 )

Tried it using VB.NET 2010 on win 8.1 (x64)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.