the sjcl.misc.hkdf is not a function
qingyang-id opened this issue · 1 comments
qingyang-id commented
The sjcl.misc.hkdf is not a function, what should i do?
thanks for first
athanclark commented
@yqsailor I "worked around" this by discovering the following:
- there is no
--with-hkdf
target available to./configure
- you can manually add it by including
core/hkdf.js
to theSOURCES= ...
variable inconfig.mk
test/hkdf*.js
are not included inmake test
- you can manually run the test (first, running
make
after fixing step 2) by issuing the following command:
node test/run_tests_node.js sjcl.js browserTest/nodeUtil.js test/test.js test/hkdf_vectors.js test/hkdf_test.js
My tests worked, so I'm pretty happy with that.
@bitwiseshiftleft Are there plans to support hkdf in future releases?