I've noticed that the node.js Javascript package for bcrypt requires lots of non-Javascript libraries - C++, Python 2.7, etc.
Why is this necessary? Is there something special about encryption that requires non-Javascript languages?
I've noticed that the node.js Javascript package for bcrypt requires lots of non-Javascript libraries - C++, Python 2.7, etc.
Why is this necessary? Is there something special about encryption that requires non-Javascript languages?
A algorithm like bcrypt never depends on a specific language. All general-purpose-langauges like C, Java, Pyton, JS, PHP etc.etc. can be sued to implement such algorithms.
Why they chose to use eg. C instead of just JS is likely because, at least with the currently available tools (compiler, interpreter etc.), C programs are much faster than JS. Encrypting large data sets shouldn't be unnecessary slow.