Skip to content

Conversation

@FiloSottile
Copy link
Contributor

Currently, trying to use encapsulate() without an explicit rand throws

"seed" expected Uint8Array of length 48, got length=32

All the internal callsites pass rand explicitly.

Currently, trying to use encapsulate() without an explicit rand throws

    "seed" expected Uint8Array of length 48, got length=32

All the internal callsites pass rand explicitly.
@FiloSottile
Copy link
Contributor Author

Feel free to toss the PR if you want to do a more complete fix, add tests, anything. It was just easier to patch than to explain.

@paulmillr paulmillr merged commit 01e15cf into paulmillr:main Dec 22, 2025
6 checks passed
@FiloSottile FiloSottile deleted the patch-1 branch December 22, 2025 10:10
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