Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

CryptoJS result VS WebCrypto #10

Open
Seitenwerk opened this issue Jul 4, 2018 · 0 comments
Open

CryptoJS result VS WebCrypto #10

Seitenwerk opened this issue Jul 4, 2018 · 0 comments

Comments

@Seitenwerk
Copy link

After having used CryptoJS for a while I recently tried to implement password hashing on iOS via Swift and gave WebCrypto a try. CryptoJS uses a wordarray when hashing with sha512 and stringify with base64 option gets applied, leading to different results than using any other sha512 hashing method. The output of WebCrypto swift is the same as all other methods so it’s correct, but I wonder if there is any way for this library to replicate the output of CryptoJS, especially since it’s based on CryptoJS Swift.

Is there any way to get the same result from Webcrypto swift with a sha512 like CryptoJS puts out?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant