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

Refactor and rename Scalar::from_var_bytes #137

Closed
moCello opened this issue Dec 5, 2023 · 0 comments · Fixed by #138
Closed

Refactor and rename Scalar::from_var_bytes #137

moCello opened this issue Dec 5, 2023 · 0 comments · Fixed by #138

Comments

@moCello
Copy link
Member

moCello commented Dec 5, 2023

Summary

With the latest discussions in #129 it makes sense to use these findings when generating a scalar from an arbitrary array of bytes using blake2b as a hash.

moCello added a commit that referenced this issue Dec 5, 2023
It now used a 514-bit large destination string to hash into.
New name: `from_blake2b`.

Resolves: #137
moCello added a commit that referenced this issue Dec 5, 2023
It now used a 514-bit large destination string to hash into.
New name: `from_blake2b`.

Resolves: #137
moCello added a commit that referenced this issue Dec 5, 2023
It now used a 514-bit large destination string to hash into.
New name: `from_blake2b`.

Resolves: #137
moCello added a commit that referenced this issue Dec 5, 2023
It now used a 514-bit large destination string to hash into.
New name: `from_blake2b`.

Resolves: #137
moCello added a commit that referenced this issue Dec 5, 2023
It now used a 512-bit large destination string to hash into.
New name: `from_blake2b`.

Resolves #137
moCello added a commit that referenced this issue Dec 5, 2023
It now used a 512-bit large destination string to hash into.
New name: `from_blake2b`.

Resolves #137
moCello added a commit that referenced this issue Dec 5, 2023
It now used a 512-bit large destination string to hash into.
New name: `hash_to_scalar`.

Resolves #137
Co-authored_by: Victor Lopez <victor@dusk.network>
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

Successfully merging a pull request may close this issue.

1 participant