<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[how diffie hellman key exchange works]]></title><description><![CDATA[<p>how diffie hellman key exchange works</p><p>(with as little math as possible)</p>]]></description><link>https://board.circlewithadot.net/topic/b8ca400c-8c7f-4ad7-a1e0-b32980a267a3/how-diffie-hellman-key-exchange-works</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 16:06:55 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/b8ca400c-8c7f-4ad7-a1e0-b32980a267a3.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Mar 2026 19:46:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 14:13:59 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> The Wikipedia article uses a color-mixing analogy that I've always liked. I used to know someone who would do the color-mixing thing live in a class she taught!</p>]]></description><link>https://board.circlewithadot.net/post/https://recurse.social/users/lindsey/statuses/116301551366204210</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://recurse.social/users/lindsey/statuses/116301551366204210</guid><dc:creator><![CDATA[lindsey@recurse.social]]></dc:creator><pubDate>Fri, 27 Mar 2026 14:13:59 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 13:09:53 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> <span><a href="/user/agturcz%40circumstances.run">@<span>agturcz</span></a></span> Ik love the smiley operator!</p>]]></description><link>https://board.circlewithadot.net/post/https://fosstodon.org/users/gerbrand/statuses/116301299305728325</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://fosstodon.org/users/gerbrand/statuses/116301299305728325</guid><dc:creator><![CDATA[gerbrand@fosstodon.org]]></dc:creator><pubDate>Fri, 27 Mar 2026 13:09:53 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 12:06:01 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> like how you used 'hard to undo'. I used to explain it by saying the inverse is really hard to do but that explanation is simpler.</p>]]></description><link>https://board.circlewithadot.net/post/https://social.dropbear.xyz/users/smallsees/statuses/116301048167824722</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.dropbear.xyz/users/smallsees/statuses/116301048167824722</guid><dc:creator><![CDATA[smallsees@social.dropbear.xyz]]></dc:creator><pubDate>Fri, 27 Mar 2026 12:06:01 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 11:43:20 GMT]]></title><description><![CDATA[<p><span><a href="/user/bmitch%40fosstodon.org">@<span>bmitch</span></a></span> <span><a href="/user/snoopj%40hachyderm.io">@<span>SnoopJ</span></a></span> oops yeah thanks</p>]]></description><link>https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116300958964575697</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116300958964575697</guid><dc:creator><![CDATA[b0rk@social.jvns.ca]]></dc:creator><pubDate>Fri, 27 Mar 2026 11:43:20 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 07:59:22 GMT]]></title><description><![CDATA[<p><span><a href="/user/snoopj%40hachyderm.io">@<span>SnoopJ</span></a></span> what do you mean by mixed up punctuation?</p><p>it’s trying to explain how on an elliptic curve, you start with an initial point s on the elliptic curve, choose a random integer x , and then add that point s to itself x times (using elliptic curve addition) to get the result of the “magic function”</p>]]></description><link>https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116300078262778293</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116300078262778293</guid><dc:creator><![CDATA[b0rk@social.jvns.ca]]></dc:creator><pubDate>Fri, 27 Mar 2026 07:59:22 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 06:27:30 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> that’s a great explainer. You made it straightforward for me to understand how it works without having to know how the functions involved work (I don’t).<br />And the keys are for symmetric encryption, I guess?</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.green/users/arildsen/statuses/116299717041362963</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.green/users/arildsen/statuses/116299717041362963</guid><dc:creator><![CDATA[arildsen@mastodon.green]]></dc:creator><pubDate>Fri, 27 Mar 2026 06:27:30 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 04:36:16 GMT]]></title><description><![CDATA[<a href="/user/b0rk%40social.jvns.ca">@b0rk@social.jvns.ca</a> No such groups are known yet. However one can easily prove that discrete log solves CDH, whereas no general reduction from CDH to discrete log exists, which in a way tells that DL is a "harder or equivalent" problem.<br /><br />There exists however such a reduction for some elliptic curves (e.g. the NIST curves and Curve25519); these curves are usually preferred, as we then only depend on <i>one</i> problem being hard.]]></description><link>https://board.circlewithadot.net/post/https://misskey.de/notes/akbz3qeoml</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://misskey.de/notes/akbz3qeoml</guid><dc:creator><![CDATA[divverent@misskey.de]]></dc:creator><pubDate>Fri, 27 Mar 2026 04:36:16 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 03:57:36 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> fantastic work as usual, thanks for sharing <img class="not-responsive emoji" src="https://media.hachyderm.io/custom_emojis/images/000/023/887/original/a5716b86411ccccf.png" title=":blobfoxheartcute:" /></p>]]></description><link>https://board.circlewithadot.net/post/https://hachyderm.io/users/SnoopJ/statuses/116299127630961380</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://hachyderm.io/users/SnoopJ/statuses/116299127630961380</guid><dc:creator><![CDATA[snoopj@hachyderm.io]]></dc:creator><pubDate>Fri, 27 Mar 2026 03:57:36 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 03:57:20 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> am I missing something or is "add the result s to itself x times) a result of mixed-up puncutation? Did a double-take at that</p>]]></description><link>https://board.circlewithadot.net/post/https://hachyderm.io/users/SnoopJ/statuses/116299126587956532</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://hachyderm.io/users/SnoopJ/statuses/116299126587956532</guid><dc:creator><![CDATA[snoopj@hachyderm.io]]></dc:creator><pubDate>Fri, 27 Mar 2026 03:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 01:19:36 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> I love it. when I have taught this material, I have fallen back on the paint mixing analogy, but as a colorblind person this never felt right!</p>]]></description><link>https://board.circlewithadot.net/post/https://discuss.systems/users/palvaro/statuses/116298506322200467</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://discuss.systems/users/palvaro/statuses/116298506322200467</guid><dc:creator><![CDATA[palvaro@discuss.systems]]></dc:creator><pubDate>Fri, 27 Mar 2026 01:19:36 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Fri, 27 Mar 2026 00:16:18 GMT]]></title><description><![CDATA[<p><span><a href="/user/esoteric_programmer%40social.stealthy.club">@<span>esoteric_programmer</span></a></span> will write some and let you know when it’s added</p>]]></description><link>https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116298257451392990</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116298257451392990</guid><dc:creator><![CDATA[b0rk@social.jvns.ca]]></dc:creator><pubDate>Fri, 27 Mar 2026 00:16:18 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 23:59:03 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca" rel="nofollow noreferrer noopener">@<span>b0rk</span></a></span> I would boost it, but the attached image doesn't have any alt text, so I can't. What's the image about? is it showing a mathematical formula or something similar? a diagram?</p>]]></description><link>https://board.circlewithadot.net/post/https://social.stealthy.club/users/esoteric_programmer/statuses/01KMP9CNCKHZMMRTS2M563S95V</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.stealthy.club/users/esoteric_programmer/statuses/01KMP9CNCKHZMMRTS2M563S95V</guid><dc:creator><![CDATA[esoteric_programmer@social.stealthy.club]]></dc:creator><pubDate>Thu, 26 Mar 2026 23:59:03 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 23:04:38 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> you can do it without maths at all. Say I want to give you my bicycle, but our schedules just will never work out for me to give you it directly. Well, we pick a place both of us can access, say outside the train station. I lock my bike up at a designated spot and go about my day. You come along with your own lock and use it to fasten the bike to the same spot without interfering with my lock, then go about your day. At some point I remove my lock, after which you can remove yours and gain a bicycle.</p><p>As I understand it, such a protocol was the inspiration for DH key exchange. Picking a spot is picking a generator. Locking is exponentiating. Locks not interfering is the commutativity property.</p><p>It's the explanation I always use when TAing cryptography</p>]]></description><link>https://board.circlewithadot.net/post/https://mathstodon.xyz/users/counting_is_hard/statuses/116297975623874396</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mathstodon.xyz/users/counting_is_hard/statuses/116297975623874396</guid><dc:creator><![CDATA[counting_is_hard@mathstodon.xyz]]></dc:creator><pubDate>Thu, 26 Mar 2026 23:04:38 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 22:42:59 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> Small typo in panel 4, choose = chose?</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.social/users/ednl/statuses/116297890476560314</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.social/users/ednl/statuses/116297890476560314</guid><dc:creator><![CDATA[ednl@mastodon.social]]></dc:creator><pubDate>Thu, 26 Mar 2026 22:42:59 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 21:08:08 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> I mean, there's a point where a metaphor doesn't work anymore, because it's not the truth, just a way to explain part of the truth. If you need perfect accuracy you're just explaining reality.</p><p>The paint metaphor also breaks down because there are tools for recreating paint colours accurately from pure pigments. Do that for (sxa), (sxb), and s, and you recover a and b. So it's not really suitable as a form of key exchange. But it is easy to understand on a basic level.</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.online/users/pmb00cs/statuses/116297517561016043</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.online/users/pmb00cs/statuses/116297517561016043</guid><dc:creator><![CDATA[pmb00cs@mastodon.online]]></dc:creator><pubDate>Thu, 26 Mar 2026 21:08:08 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 21:06:43 GMT]]></title><description><![CDATA[<a href="https://fedicy.us.to/Diffie-Hellman%20Key%20Exchange-Art%20of%20the%20Problem.webm">https://fedicy.us.to/Diffie-Hellman%20Key%20Exchange-Art%20of%20the%20Problem.webm</a>]]></description><link>https://board.circlewithadot.net/post/https://fedicy.us.to/cy/p/1774559203.784376</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://fedicy.us.to/cy/p/1774559203.784376</guid><dc:creator><![CDATA[cy@fedicy.us.to]]></dc:creator><pubDate>Thu, 26 Mar 2026 21:06:43 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 21:00:11 GMT]]></title><description><![CDATA[<p><span><a href="/user/pmb00cs%40mastodon.online">@<span>pmb00cs</span></a></span> but I definitely have a tendency to be overly critical about the specifics of metaphors in a way that's not necessarily helpful <img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p><p>the paint thing is cool!</p>]]></description><link>https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116297486256128438</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116297486256128438</guid><dc:creator><![CDATA[b0rk@social.jvns.ca]]></dc:creator><pubDate>Thu, 26 Mar 2026 21:00:11 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 20:59:28 GMT]]></title><description><![CDATA[<p><span><a href="/user/pmb00cs%40mastodon.online">@<span>pmb00cs</span></a></span> one interesting way the mixing paint metaphor doesn't work (imo) is that when you're mixing paint the two colours you're mixing both have the same "type", and it's a symmetric operation (a mixed with b is the same as b mixed with a)</p><p>but in diffie hellman the operation is not symmetric at all, like the type of the function is more like f(type1, type2) =&gt; type1</p><p>I think saying that "s" and "a" are both "numbers" might be a bit of an oversimplification in that sense</p>]]></description><link>https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116297483480919832</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116297483480919832</guid><dc:creator><![CDATA[b0rk@social.jvns.ca]]></dc:creator><pubDate>Thu, 26 Mar 2026 20:59:28 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 20:49:54 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> that's fair enough, and I think you've done an excellent job of it. I just like the paint analogy because it's easy to grasp that unmixing paint is hard.</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.online/users/pmb00cs/statuses/116297445819655050</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.online/users/pmb00cs/statuses/116297445819655050</guid><dc:creator><![CDATA[pmb00cs@mastodon.online]]></dc:creator><pubDate>Thu, 26 Mar 2026 20:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 20:47:45 GMT]]></title><description><![CDATA[<p><span><a href="/user/pmb00cs%40mastodon.online">@<span>pmb00cs</span></a></span> i have! i wanted to write something a little closer to the mathematical reality</p>]]></description><link>https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116297437348411567</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.jvns.ca/users/b0rk/statuses/116297437348411567</guid><dc:creator><![CDATA[b0rk@social.jvns.ca]]></dc:creator><pubDate>Thu, 26 Mar 2026 20:47:45 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 20:44:17 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> have you seen the paint explainer for Diffie-Helman? That's quite a good way to get the idea across.</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.online/users/pmb00cs/statuses/116297423777449532</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.online/users/pmb00cs/statuses/116297423777449532</guid><dc:creator><![CDATA[pmb00cs@mastodon.online]]></dc:creator><pubDate>Thu, 26 Mar 2026 20:44:17 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 20:43:39 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> <span><a href="/user/divverent%40misskey.de">@<span>divVerent</span></a></span> Not sure what you're asking but might it be like the mixing paint example in the video I linked to?</p><p>In that example, Alice and Bob share a common paint color to which they mix their secret color.  They share that combination with each other, add their secret color again to arrive at a shared secret key.  Horrible explanation on my part which the video does a much better job at.</p><p>But I probably am completely misunderstanding your question in which case ignore this!</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.social/users/samirparikh/statuses/116297421252178689</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.social/users/samirparikh/statuses/116297421252178689</guid><dc:creator><![CDATA[samirparikh@mastodon.social]]></dc:creator><pubDate>Thu, 26 Mar 2026 20:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 20:35:33 GMT]]></title><description><![CDATA[<p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> <img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f62d.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sob" style="height:23px;width:auto;vertical-align:middle" title="😭" alt="😭" /><img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f62d.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sob" style="height:23px;width:auto;vertical-align:middle" title="😭" alt="😭" /><img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f62d.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sob" style="height:23px;width:auto;vertical-align:middle" title="😭" alt="😭" /><img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f62d.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sob" style="height:23px;width:auto;vertical-align:middle" title="😭" alt="😭" />this is so well done and clear <img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f496.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sparkling_heart" style="height:23px;width:auto;vertical-align:middle" title="💖" alt="💖" /><img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f496.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sparkling_heart" style="height:23px;width:auto;vertical-align:middle" title="💖" alt="💖" /><img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f496.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sparkling_heart" style="height:23px;width:auto;vertical-align:middle" title="💖" alt="💖" /><img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f496.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--sparkling_heart" style="height:23px;width:auto;vertical-align:middle" title="💖" alt="💖" /></p>]]></description><link>https://board.circlewithadot.net/post/https://narrativ.es/users/janl/statuses/116297389377448243</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://narrativ.es/users/janl/statuses/116297389377448243</guid><dc:creator><![CDATA[janl@narrativ.es]]></dc:creator><pubDate>Thu, 26 Mar 2026 20:35:33 GMT</pubDate></item><item><title><![CDATA[Reply to how diffie hellman key exchange works on Thu, 26 Mar 2026 20:34:07 GMT]]></title><description><![CDATA[<p class="quote-inline">RE: <a href="https://infosec.exchange/@sophieschmieg/116246805758237078" rel="nofollow noopener"><span>https://</span><span>infosec.exchange/@sophieschmie</span><span>g/116246805758237078</span></a></p><p><span><a href="/user/b0rk%40social.jvns.ca">@<span>b0rk</span></a></span> you don't just get Diffie to sign it?</p>]]></description><link>https://board.circlewithadot.net/post/https://social.lol/users/ballpointcarrot/statuses/116297383776000898</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://social.lol/users/ballpointcarrot/statuses/116297383776000898</guid><dc:creator><![CDATA[ballpointcarrot@social.lol]]></dc:creator><pubDate>Thu, 26 Mar 2026 20:34:07 GMT</pubDate></item></channel></rss>