alphazero / blake2b Goto Github PK
View Code? Open in Web Editor NEWJava implementation of the BLAKE2b cryptographic hash function
License: Other
Java implementation of the BLAKE2b cryptographic hash function
License: Other
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>
``
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!
Hi!
In readme I haven't found information about threadsafety of your implementation, can you provide me with this information?
hashPrevouts:
BLAKE2b-256('ZcashPrevoutHash','')
= d53a633bbecf82fe9e9484d8a0e727c73bb9e68c96e72dec30144f6a84afa136
How to write this project, thank you
How to run the program
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?
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-----
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.