Giter Site home page Giter Site logo

blake2b's People

Contributors

alphazero avatar mariusvolkhart 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blake2b's Issues

Bild failed: some test failing

master branch

Failed tests:   testFullUpdate(ove.crypto.digest.TestDigest_KAT_DefaultParams): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
  testSingleByteUpdates(ove.crypto.digest.TestDigest_KAT_DefaultParams): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
  testFullUpdate(ove.crypto.digest.TestDigest_KAT_ExplicitDefaultParams): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
  testSingleByteUpdates(ove.crypto.digest.TestDigest_KAT_ExplicitDefaultParams): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
  testFullUpdate(ove.crypto.digest.TestDigest_KAT_ImplicitDefaultParams): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
  testSingleByteUpdates(ove.crypto.digest.TestDigest_KAT_ImplicitDefaultParams): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
  testFullUpdate(ove.crypto.digest.TestMAC_KeyedKAT_DefaultParam): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
  testSingleByteUpdates(ove.crypto.digest.TestMAC_KeyedKAT_DefaultParam): arrays don't have the same size. does not match reference KAT expected:<60928> but was:<58368>
``

Maven dependency fails with "missing, no dependency information available"

As the README suggests, I was using:

<dependency>
    <groupId>ove</groupId>
    <artifactId>ove.blake2b</artifactId>
    <version>alpha.0</version>
</dependency>

in my POM which was working quite well. But today, I saw that my builds were failing with The POM for ove:ove.blake2b:jar:alpha.0 is missing, no dependency information available error. I see that I can no more find your repository in https://mvnrepository.com. Has your repository moved to some new location?

Thanks!

Thread safety

Hi!

In readme I haven't found information about threadsafety of your implementation, can you provide me with this information?

BLAKE2b-256

hashPrevouts:
BLAKE2b-256('ZcashPrevoutHash','')
= d53a633bbecf82fe9e9484d8a0e727c73bb9e68c96e72dec30144f6a84afa136
How to write this project, thank you

Release on Maven

Is there any plans to release this library on maven-central so it's easy to include in your project? This is the only blake2 java implementation I can find mentioned on: https://blake2.net/ , Is there a better project I should be looking to for prod like applications?

Divergent results for message lengths exceeding 2^64

This issue was kindly brought to my attention by Axel von dem Bruch.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Joubin Mohammad,

I'm currently working on a Blake2b implementation to use later for
password hashing schemes like Lyra2 or Catena
(https://github.com/Beloumi/eck.cologne.crypto). I have see your
implementation on GitHub. This is clearly more comprehensive and
thorough than my version, but maybe there is also sometimes need for a
simple variant.

As I can see, there is a minor not critical bug in the implementation
for messages from 2^64+1 up to 2^64+127 bytes, because the counter
(t[1]) will not be incremented for the last block. So, digests of this
implementation will differ from the C reference implementation.

This can easily fixed by replacing line 446 of the class Blake2b.java
in the function digest()
(currently: this.t[1] += this.t[0] == 0 ? 1 : 0;)
by:
this.t[1] += (t[0] < 0 && buflen > -t[0]) ? 1 : 0;

Best regards
Axel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJU+ZlQAAoJEB6PWtWjd4ECHywH/Rfs2WIJoY5lf2bWATWcncc9
oUjj1oPzLF2X8kI2s7RkRal8rQiVIoYu0UnJIPFncmUfqETQZJ7Wpn+yvbxTcbQT
t/e+BloYqFRwAl18z67M8HJhxB51l1ua/z74xfb3lYsNTGqszxenf6ALBcdLIUFy
f1ZnaTr2fFHD+RF1kFBEPXx/S6w7l7Rsj2fsFuwPXwxJ18RtsJwfbsYF2dYybbNU
4FM6PA9rEHmmSDJvo/KPK7VBA7EPUZokrcI2uD+55+TmEHiUJQ5DTRBk2Xlv4GNZ
mJYZzrYrW3c8Ou0l/nB0pFjLfpNPxFf6oOuWbuIy36UtTvdZSLIJ/gC7tyyfyjc=
=++V4
-----END PGP SIGNATURE-----

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.