You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
The text was updated successfully, but these errors were encountered: