Skip to content

Missing crypto wasm api#292

Merged
SebastienGllmt merged 3 commits intodevelopfrom
missing-crypto-wasm-api
Dec 29, 2023
Merged

Missing crypto wasm api#292
SebastienGllmt merged 3 commits intodevelopfrom
missing-crypto-wasm-api

Conversation

@rooooooooob
Copy link
Copy Markdown
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
@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