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

[FEATURE REQUEST] WebCrypto support #941

Closed
adrien-n opened this issue Dec 11, 2019 · 5 comments
Closed

[FEATURE REQUEST] WebCrypto support #941

adrien-n opened this issue Dec 11, 2019 · 5 comments

Comments

@adrien-n
Copy link
Contributor

adrien-n commented Dec 11, 2019

I would like to use WebCrypto but there is currently no binding for it (it's still RC but it has been in browsers for several years). Proper bindings will probably depend upon #940 because basically all of the API returns futures. The JS API also uses quite a lot of strings for identification so there's some room for a friendlier API if wanted.

edit: I've started to use the API directly without proper bindings but I figured I should also create a ticket for tracking purposes.

@hhugo
Copy link
Member

hhugo commented Dec 12, 2019

Contributions are welcome. Note that theses bindings could also easily live outside the js_of_ocaml project.

@adrien-n
Copy link
Contributor Author

OK. I'll try to start that way.

BTW, it would probably be useful to expand the documentation to mention such external libs (including ones for promises). I'll try to draft something in the coming days.

@hhugo
Copy link
Member

hhugo commented Jan 11, 2022

#1217

@hhugo hhugo added the Lib label Jan 11, 2022
@dbuenzli
Copy link
Contributor

It's not jsoo-style API but just in case brr has support for webcrypto.

@hhugo
Copy link
Member

hhugo commented Mar 28, 2024

Let's just document external bindings in #1217

@hhugo hhugo closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants