Hacker GitHub

← All repos

jedisct1/libsodium

View on GitHub ↗ ★ 14,037 C

A modern, portable, easy to use crypto library.

59 mentions on Hacker News by 51 people: 10 stories, 49 comments · first 2013-03-07 · latest 2023-09-15

Mentions per year 59 mentions · busiest year 2014 (13)
20082026
  1. …around for a while, so probably the reason it was posted is that version 1.0.19 was just released: https://github.com/jedisct1/libsodium/releases/tag/1.0.19-RE... Updated NuGet and Swift packages are going to be uploaded soon. AEGIS-128X…
  2. Thanks, both are good general tips, but in this specific case https://github.com/jedisct1/libsodium I would guess that the author of the library has full control both over optimal parallelization of a build and minimal autoconf, but he can…
    comment by acqq · 2023-04-14 · in Zig build system
  3. Can anyone recommend between Librandombytes and libsodium ramdombytes? https://github.com/jedisct1/libsodium/tree/master/src/libsod...
  4. …pretty clearly: [1], lines 18-23. 0: https://www.jcraige.com/an-explainer-on-ed25519-clamping 1: https://github.com/jedisct1/libsodium/blob/master/src/libsod...
  5. …but as far as I can tell at first glance, this is a working implementation of X25519. 1: https://github.com/jedisct1/libsodium/blob/7993f5ec5199b6637...
  6. …this... then I looked at his biggest project, libsodium, and this is the second most recent bug https://github.com/jedisct1/libsodium/issues/1038 ``` invalid usage on desktop chrome when running crypto_pwhash Error: invalid usage at h…
    comment by shp0ngle · 2021-03-29 · in It Doesn't Work
  7. It looks like at least libsodium implements constant-time array comparison in C. https://github.com/jedisct1/libsodium/blob/ae4add868124a32d4... Edit: I'm not disagreeing that C compilers are free to optimize stuff like this out; this…
  8. …because the GitHub link in this blog post should've been to https://github.com/google/tink or https://github.com/jedisct1/libsodium or some library like them.
  9. …So far we've been focusing on encryption at rest. Can you tell me more about your use case? [1] https://github.com/jedisct1/libsodium [2] https://github.com/google/tink
    comment by cryptbe · 2020-08-30 · in So you want to roll your own crypto?
  10. …store keys. Deterministic nonces have also been something that libsodium appears to have rejected: https://github.com/jedisct1/libsodium/issues/392 If you're looking at it from a misuse-prevention perspective, Tink is probably a major step…
  11. …with poor, nonexistent, or misconfigured AES accel. ³ this relatively straightforward operation https://github.com/jedisct1/libsodium/blob/master/src/libsod...
    comment by microcolonel · 2020-04-24 · in Why not “Why not WireGuard?”
  12. …It's still there. I did. There's less of it. I've filled the bug, here's what's this about: https://github.com/jedisct1/libsodium/issues/937 Here's the relevant quote from annex J of the (heavy, I have printed it) C99 specifications:…
    comment by loup-vaillant · 2020-03-13 · in Why I’m Using C
  13. …resistance nowadays. That being said, ed25519ph is easier to protect against fault attacks, see https://github.com/jedisct1/libsodium/issues/170
  14. …with the tradeoff they find acceptable. A one-liner isn't enough for that conversation. [0] https://github.com/jedisct1/libsodium/issues/802 [1] https://download.libsodium.org/doc/memory_management#zeroing...
  15. …of this line? Why do you think it's there if the C code using volatile is enough on its own? https://github.com/jedisct1/libsodium/blob/a26467874a512de30... It's a workaround to prevent optimisations because that happens to be how some…
    comment by chrisseaton · 2019-07-17 · in Who's afraid of a big bad optimizing compiler?
  16. …Look at all the contortions libsodium goes to do coerce all the compilers to do the right thing :) https://github.com/jedisct1/libsodium/blob/a26467874a512de30...
  17. …e.g. libsodium refused to fix. Hopefully crypto maintainers will get to their senses eventually. https://github.com/jedisct1/libsodium/issues/802
  18. …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...
  19. Yup, if you want to see the state of the art in this, here it is from libsodium: https://github.com/jedisct1/libsodium/blob/master/src/libsod... They sum it up in their docs like this: - On Windows systems, the RtlGenRandom() function is…
    comment by shittyadmin · 2019-01-23 · in 7-zip broken password random number generator
  20. …and Webassembly. Look at the release notes on the releases page to see what kind of things they do. https://github.com/jedisct1/libsodium/releases
  21. There are plans to address this in libsodium. Here are some relevant issues: https://github.com/jedisct1/libsodium/issues/361 https://github.com/jedisct1/libsodium/issues/392
  22. https://github.com/jedisct1/libsodium/blob/be5e5a53b35961e32... They either do SecureZeroMemory for windows, memset or bzero for linux and in worst cases they manually wipe the array which is what memguard does, so, how is sodium_memzero…
    comment by dimitri1995 · 2017-04-22 · in Show HN: Securely Handle Encryption Keys in Go
  23. How does this compare to libsodium(.js)[1][2]? [1] https://github.com/jedisct1/libsodium [2] https://github.com/jedisct1/libsodium.js
  24. Site is up on my end. Anyways, here's the GH page for anyone interested: https://github.com/jedisct1/libsodium
    comment by remx · 2017-03-05 · in The Sodium crypto library
  25. That's coming soon: https://github.com/jedisct1/libsodium/blob/master/src/libsod...
    comment by CiPHPerCoder · 2017-01-10 · in The design of Chacha20
  26. …languages (and still sucks in those). I suspect that's why few used that as a criticism of PHP. - https://github.com/jedisct1/libsodium Libsodium: modern cryptography that you can likely find bindings for in your favorite programming…
  27. …Perhaps with evidence of that as a possibility, we could use a good crypto library instead, eg. https://github.com/jedisct1/libsodium
    comment by mitchtbaum · 2016-10-20 · in OpenSSL after Heartbleed
  28. …that input to be passed into the rust libsodium wrapper through the protocol implementation. [1] https://github.com/jedisct1/libsodium
  29. What about https://github.com/jedisct1/libsodium then? Very high profile, no CVEs found to date. EDIT: Can't respond to lambda below. I was responding to THIS assertion, not proposing libsodium as a general purpose openssl replacement:…
    comment by CiPHPerCoder · 2016-05-03 · in OpenSSL Security Advisory
  30. …crypto_aead_aes256gcm_encrypt() crypto_aead_aes256gcm_decrypt() https://github.com/jedisct1/libsodium
  31. …code) version of NaCl by the folks at dnscrypt. Maybe I missed something in my research? [1] https://github.com/jedisct1/libsodium
    comment by green7ea · 2015-09-26 · in Keybase's New Key Model
  32. How does it compare to the libsodium implementation: https://github.com/jedisct1/libsodium/blob/master/src/libsod... Btw, libsodium prefers salsa20 instead of chacha20, I don't know why; but I trust they made a good decision.
  33. …NaCl referred to in the gist this NaCl? http://nacl.cr.yp.to/ Or does it refer to libsodium here? https://github.com/jedisct1/libsodium I realize that the library is probably available via my package manager, but it'd be nice if the…
    comment by Xorlev · 2015-05-23 · in Cryptographic Right Answers
  34. …there is a portable implementation (well, direct port of the SSSE3 code) of AES-CTR in NaCl: https://github.com/jedisct1/libsodium/tree/master/src/libsod... . Don't expect it to be fast or anything, but it exists.
    comment by pbsd · 2015-04-02 · in Truecrypt report
  35. …/article.gmane.org/gmane.comp.security.phc/2658 libsodium added ROT13, fast, keyless, powerful cipher https://github.com/jedisct1/libsodium/commit/23f1c90c682484f...
    comment by sarciszewski · 2015-04-01 · in List of April Fools' Day Announcements
  36. …any type of centralized authority, and all traffic is encrypted using the sodium crypto library ( https://github.com/jedisct1/libsodium ). Full disclosure: Tox has not yet been professionally audited.
  37. …encrypted data. I'm hoping that jedisct1 will add a parallel functionality to libsodium soon. :) https://github.com/jedisct1/libsodium/issues/231
  38. Might also want to checkout libsodium ( https://github.com/jedisct1/libsodium ).
    comment by urras · 2014-12-29 · in Some gripes about nacl
  39. …fork of NaCl, with a compatible API, and an extended API to improve usability even further. Source: https://github.com/jedisct1/libsodium/blob/master/README.mar... I see DJB (original nacl creator http://nacl.cr.yp.to/ ) appears to…
    comment by 23david · 2014-12-29 · in Some gripes about nacl
  40. …breaking interoperability with messages encrypted with the current version of crypto_secretbox. [1] https://github.com/jedisct1/libsodium/blob/17932c782e5900ac8...
    comment by agwa · 2014-12-29 · in Some gripes about nacl
  41. …even further." I've been using it in a toy project of mine and so far I'm very impressed! 1. https://github.com/jedisct1/libsodium
    comment by chrisballinger · 2014-10-19 · in Making sure crypto remains insecure [pdf]
  42. …to be the best way to currently wipe out sensitive data is to implement something like in libsodium https://github.com/jedisct1/libsodium/blob/master/src/libsod... 1- Try to use SecureZeroMemory() on Windows 2- Use memcpy_s() if available,…
    comment by doe88 · 2014-04-14 · in TrueCrypt Security Assessment [pdf]
  43. …wrote his own crypto library, NaCL: http://nacl.cr.yp.to/ It's been packaged up as libsodium: https://github.com/jedisct1/libsodium That said, even DJB doesn't trust himself to write bug-free C code: http://cr.yp.to/qmail/qmailsec-20071101.…
    comment by grosskur · 2014-04-12 · in Ask HN: Negative OpenSSL sentiments
  44. …free for FOSS despite patents, and more understandable for mortals). [0] http://curvecp.org/ [1] https://github.com/jedisct1/libsodium [2] http://nacl.cace-project.eu/box.html [3] http://blog.cryptographyengineering.com/2012/05/how-to-choos…
    comment by nly · 2014-02-28 · in TLS Symmetric Crypto
  45. …does not do the same thing as NaCl. NaCl: https://gist.github.com/anonymous/9234738 libsodium: https://github.com/jedisct1/libsodium/blob/master/src/libsod...
    comment by eliteraspberrie · 2014-02-26 · in How to safely generate a random number
  46. Most 3rd parties are building on libsodium, not the Nacl code: https://github.com/jedisct1/libsodium
  47. …nobody really wanted to fix it until Sodium came along. [1] https://www.tarsnap.com/scrypt.html [2] https://github.com/jedisct1/libsodium [3] https://github.com/thejh/node-nacl [4] https://github.com/tonyg/js-nacl
    comment by drostie · 2013-07-04 · in DecryptoCat
  48. …on what you need (I can't say how good these are): http://www.keyczar.org http://nacl.cr.yp.to https://github.com/jedisct1/libsodium http://www.gnupg.org
    comment by Osmium · 2013-05-27 · in You are dangerously bad at cryptography
  49. Build scripts for iOS, Android and Windows (using MingW under MSYS): https://github.com/jedisct1/libsodium/tree/master/dist-build The end result on Windows is a native DLL library.