News for hackers. Stuff that matters.
Re:Stanford JavaScript Crypto Library by traceroute66 on Monday June 15, 2020 @05:20PM (#23533106)
Agree on the libsodium recommendation. Stanford probably just suffering a little "not invented here" syndrome.

Libsodium is a solid crypto library with long history. It is also embedded in PHP,HHVM,Citrine and Factor "out of the box" and has bindings for many other languages, not just Javascript.

In my view, any competing crypto library would have to be something super special to outweigh all the pros of libsodium.

Re:Stanford JavaScript Crypto Library by hackernewsn00b on Monday June 15, 2020 @05:28PM (#23533193)
> Stanford probably just suffering a little "not invented here" syndrome.

SJCL predates libsodium.js :)

Re:Stanford JavaScript Crypto Library by thephyber on Monday June 15, 2020 @05:43PM (#23533353)
This appears so.

From the SJCL documentation:

> An older version of this implementation is available in the public domain, but this one is (c) Emily Stark, Mike Hamburg, Dan Boneh, Stanford University 2008-2010 and BSD-licensed for liability reasons.

Re:Stanford JavaScript Crypto Library by jonas21 on Monday June 15, 2020 @07:12PM (#23534164)
> any competing crypto library would have to be something super special to outweigh all the pros of libsodium.

Like interoperating with anything not designed by djb?