Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export compression function #12

Closed
s1na opened this issue Aug 5, 2019 · 1 comment
Closed

Export compression function #12

s1na opened this issue Aug 5, 2019 · 1 comment

Comments

@s1na
Copy link

s1na commented Aug 5, 2019

We at EthereumJS are looking into integrating the Blake2b F function into our project (according to this spec).

I understand the compression function is internal to your project, but it'd help us avoid maintaining a fork of this library or re-implementing the function ourselves. I thought I'd create an issue and ask if you're open to the idea of exporting the compression function (with one extra parameter to determine the number of rounds)?

@dcposch
Copy link
Owner

dcposch commented Mar 19, 2022

This is a very cool application of Blake2

I think it's better to keep it separate, though. I took a look at EIP-152, and it looks a bit more general than our unexported blake2bCompress function. It allows a variable number of rounds instead of the standard 12.

@dcposch dcposch closed this as completed Mar 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants