Skip to content

Conversation

TamaraFinogina
Copy link

PR for Discussion #72.

By design, Blake3 provides a key derivation mode that accepts a context string of any length and key material of any length, producing a derived key of any length. See Blake3 repo.

Hash-wasm didn't have it, but it's easy to add.

P.S. Test vectors are generated by the BLAKE3 team.

@TamaraFinogina
Copy link
Author

@Daninet, What do you think?

@Daninet
Copy link
Owner

Daninet commented Oct 10, 2025

I like the idea. Thank you for the PR.
I will try to release it with the next version when I have some free time to review the code.

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 this pull request may close these issues.

2 participants