Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    B

    Ben Adida

    benlog.com · Personal blog · on HN since 2008

    Ben Adida is a cryptographer who writes about web security, cryptography mistakes, voting, and engineers' responsibility.

    Visit blogRSSHN submissions
    SecurityPrivacy & Policy
    What HN says

    HN commenters cite his explanation of why not to hash secrets, recommending HMAC, and his three kinds of crypto essay.

    Stats for nerds
    28HN people shared it
    31linked in comments
    604story points
    Mar 2020last shared
    2009people per year2020

    Top posts on HN

    1. 1
      The responsibility we have as software engineers
      1 person · 193 points · first shared 2015 · 130 comments on HN
    2. 2
      Don’t Hash Secrets
      4 people · 188 points · first shared 2010 · 46 comments on HN
    3. 3
      encryption is not gravy
      2 people · 61 points · first shared 2012 · 43 comments on HN
    4. 4
      "If you’re outraged by accidental breaches, you’d better sit down"
      1 person · 58 points · first shared 2010 · 19 comments on HN
    5. 5
      Crypto as in Crypto
      2 people · 31 points · first shared 2018 · 23 comments on HN
    6. 6
      Steve Jobs's slight of hand
      1 person · 23 points · first shared 2010 · 9 comments on HN
    7. 7
      Ben Adida on Dropbox security: "grab the pitchforks… again"
      1 person · 16 points · first shared 2011 · 6 comments on HN
    8. 8
      Why I’m switching to Yahoo Search
      1 person · 10 points · first shared 2008 · 4 comments on HN
    9. 9
      Letter to President Obama on Surveillance and Freedom
      1 person · 4 points · first shared 2013 · Discussion on HN
    10. 10
      Don't Hash Secrets (2008)
      3 people · 2 points · first shared 2014 · Discussion on HN

    What HN people wrote when they linked it

    • schoenFeb 2014

      I think the difference between you and tptacek here is basically about this:

      http://benlog.com/2014/01/03/there-are-3-kinds-of-crypto/

      Google has done an enormous amount to improve and deploy what Ben Adida called "b2c crypto" -- typically turning it on months to years ahead of its main competitors, and actively supporting work on making it stronger. But they've done almost nothing to encourage the use of "p2p crypto" in Adida's sense, at least not as a product feature.

      I support the widespread routine use of p2p crypto, but I think Google deserves credit for what it has done. That includes making b2c crypto "routine" for most products, which does have direct effects on dragnet surveillance.

    • mspecterMar 2020

      To put this in short-hand: "We bank online, we buy all sorts of stuff online, why not vote?"

      The biggest reason is that banking and other financial transactions have a very different threat model from voting.

      In particular, voting requires a secret ballot. In addition to preventing an adversary from learning how you voted, a secret ballot requires you to be unable to prove how you voted, to prevent vote selling and coercion.

      So, unlike financial transactions, how you do validation / remediation of failures is very unclear. Ben Adida has a blog post with further thoughts here (https://benlog.com/2007/03/02/on-voting-banking-and-bad-analogies/).

    • fpgeekJun 2013

      > The only solution to a private internet is to fully embrace cryptography for all our communications.

      Mozilla (or at least the Mozilla employee that wrote the OP) does not believe that: http://benlog.com/articles/2012/04/30/encryption-is-not-gravy/

      Personally, I think that argument is right. "Complete" encryption has usability tradeoffs many people will refuse to make. And I get that. Emotionally, it frustrates me that I can't store my Google Authenticator key in Google Drive even though I understand exactly why that would break two-factor authentication.

    • bengiulianoJan 2010

      But no, you can't re-hash with a new salt without access to the plain-text password. If you could, so could the bad guy :)

      Yes you can, if you believe this: http://benlog.com/articles/2008/06/19/dont-hash-secrets/
      This is exactly why HMAC is more complicated than just:

      hash(message+secret)

    • jameshartJun 2018

      How does the server verify that the salt it receives in the second request is the same salt it generated in the first response? Does the server have to retain state?

      Also you should maybe read https://benlog.com/2008/06/19/dont-hash-secrets/

    • wmfApr 2011

      It's a commentary on the Comodo hack and the sad state of SSL CAs that led to it: there are too many CAs and their processes are too weak, so what's the harm from one more?

      http://benlog.com/articles/2011/03/30/intelligently-designing-trust/

    Related

    Schneier on Securityschneier.com2.2k people

    New NSA Leak Shows MITM Attacks Against Major Internet Services

    Schneier on Security
    Personal · last shared 2026
    Google Online Security Bloggoogleonlinesecurity.blogspot.com225 people

    No More Deceptive Download Buttons

    Google Online Security Blog
    Company · last shared 2016
    Ben Laurielinks.org38 people

    Writing Compilers Quickly

    Ben Laurie
    Personal · last shared 2022
    Bitslogbitslog.wordpress.com36 people

    The Well Deserved Fortune of Satoshi Nakamoto, Bitcoin creator

    Bitslog
    Personal · last shared 2018
    Cryptography Mailing Listmetzdowd.com70 people

    Apple's iCloud+ “VPN”

    Cryptography Mailing List
    Publication · last shared 2025
    Noncombatantnoncombatant.org42 people

    Downloading Software Safely Is Nearly Impossible

    Noncombatant
    Personal · last shared 2025
    Filippo Valsordawords.filippo.io319 people

    Show HN: My SSH server knows who you are

    Filippo Valsorda
    Personal · last shared 2026
    Rusty Russellrusty.ozlabs.org24 people

    If you didn’t run code written by assholes, your machine wouldn’t boot

    Rusty Russell
    Personal · last shared 2026