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

Missing crypto wasm api #292

Merged
merged 3 commits into from
Dec 29, 2023
Merged

Missing crypto wasm api #292

merged 3 commits into from
Dec 29, 2023

Conversation

rooooooooob
Copy link
Contributor

Add missing hashing/crypto WASM bindings

Fixes #289

Adds script data hash creation from witness sets since the encoding info is not directly available from WASM bindings. This might be something we want to change in the future but for now none of it is exposed.

Fixes #289

For script data hashing we do not pass in the witness set encodings like
in the rust bindings. We might wish to expose the CBOR encodings
generally, or for this API we could have something that takes in the
entire witness set. This function is likely to be used more indirectly
via the builders anyway.
@SebastienGllmt SebastienGllmt merged commit cd32fb6 into develop Dec 29, 2023
1 check failed
@SebastienGllmt SebastienGllmt deleted the missing-crypto-wasm-api branch December 29, 2023 21:41
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.

Missing WASM exports for hash.rs
2 participants