Hacker News new | ask | show | jobs
by doggodaddo78 1890 days ago
IIRC, aren't there a bazillion gotchas and practical problems implementing DH where it's definitely something one shouldn't roll their own?
1 comments

I didn't roll my own. I'm using built-in browser functionality, available under crypto.subtle object of the browser. You can review the code in my WebUtil library on Github @borisreitman. It's just a light wrapper on top of browser's functionality.