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
Looking at the documentation, I should be able to use hashing functions such as sjcl.hash.sha1. Unfortunately although I see the code in the repo, the minimized sjcl.js contains no reference to any hashing functions other than the default sha256.
I'm guessing since only the sha256 function is referenced in the code base, some tree shaking algorithm erroneously removed them during minimization. I was able to copy the sha1 function into my local codebase, but it would obviously be better to be fixed here.
The text was updated successfully, but these errors were encountered:
shawnlauzon
changed the title
all hashing functions other sha256 missing from sjcl.js
All hashing functions other sha256 missing from sjcl.js
Apr 20, 2021
Looking at the documentation, I should be able to use hashing functions such as
sjcl.hash.sha1
. Unfortunately although I see the code in the repo, the minimizedsjcl.js
contains no reference to any hashing functions other than the default sha256.From scjl documentation
I'm guessing since only the sha256 function is referenced in the code base, some tree shaking algorithm erroneously removed them during minimization. I was able to copy the sha1 function into my local codebase, but it would obviously be better to be fixed here.
The text was updated successfully, but these errors were encountered: