bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.18k stars 986 forks source link

sjcl.mode.cbc is undefined if I install from npm #430

Open Lukich opened 2 years ago

Lukich commented 2 years ago

sjcl hosted on npm doesn't have cbc mode in it, so any calls to sjcl.mode.cbc.decrypt are returning an error. Git and documentation still reference it, though.

Lukich commented 2 years ago

So I dug further and it looks like I need to update config.mk to include cbc. However, when I did that, it turned out that compress directory doesn't have compiler.jar. If I clone from Git, compiler.jar is present.