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

Equivalent crypto-js implementation in web crypto APIs (to migrate after deprecation) #476

Open
mustanish opened this issue Nov 16, 2023 · 1 comment

Comments

@mustanish
Copy link

We are also using CryptoJs and we would like to replace the existing cryptoJs implementation with web crypto APIs in frontend. For text and objects, it is working fine but with files, we are first converting into WordArray using the below snippet

cryptoJs.lib.WordArray.create(FileObject)

what is something equivalent we can use to achieve the same result so that the hash generated by web crypto API is the same as generated by CryptoJs

@mustanish mustanish changed the title Equivalent crypto-js implementation in web crypto APIs Equivalent crypto-js implementation in web crypto APIs (to migrate after deprecation) Nov 16, 2023
@divishav
Copy link

+1 for files. Can we get equivalent support in Web Crypto?

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

No branches or pull requests

2 participants