Hacker GitHub

← All repos

jedisct1/libsodium.js

View on GitHub ↗ ★ 1,163 HTML

libsodium compiled to Webassembly and pure JavaScript, with convenient wrappers.

10 mentions on Hacker News by 10 people: 1 story, 9 comments · first 2015-01-26 · latest 2020-06-15

Mentions per year 10 mentions · busiest year 2015 (3)
20082026
  1. I would personally recommend libsodium.js as the default choice for a JS crypto library: https://github.com/jedisct1/libsodium.js Fundamental issues with JS/web crypto aside, that is. You would still need something like WebSign (…
    comment by buu700 · 2020-06-15 · in Stanford JavaScript Crypto Library
  2. …and implement it correctly), and would be very simple to fit it into our architecture. [0] https://github.com/jedisct1/libsodium.js/#compatibility
  3. …via javascript wrappers underneath: https://github.com/TankerHQ/sdk-js/tree/master/packages/cryp... https://github.com/jedisct1/libsodium.js So, I guess take that as you will. I haven't read much of the actual source yet. edit: I sort of…
  4. …target, again via emscripten. The c source code is really excellent[1]. It's worth browsing! [0]- https://github.com/jedisct1/libsodium.js [1]- https://github.com/jedisct1/libsodium/tree/master/src/libsod...
  5. …https://github.com/dchest/tweetnacl-js Or libsodium which can also be compiled to pure js: https://github.com/jedisct1/libsodium.js
  6. How does this compare to libsodium(.js)[1][2]? [1] https://github.com/jedisct1/libsodium [2] https://github.com/jedisct1/libsodium.js
  7. …if this is no longer the case. Recently I've been playing with the emscripten port of libsodium ( https://github.com/jedisct1/libsodium.js ), which seems to be working quite well. I have yet to benchmark, but the nice thing is that…
    comment by orthecreedence · 2017-03-08 · in SJCL – Stanford JavaScript Crypto Library
  8. Scrypt for key derivation, chacha20+poly1305 for authenticated secret-key encryption. In Javascript, https://github.com/jedisct1/libsodium.js provides them.
  9. …extensions (do NOT deliver code from a webserver and assume it's safe!), you're better off using https://github.com/jedisct1/libsodium.js instead.
    comment by sarciszewski · 2015-02-24 · in Web Cryptography API Examples