TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How RSA Works: TLS Foundations

164 点作者 rmdoss超过 7 年前

6 条评论

mabbo超过 7 年前
I find the description of the RSA math pretty confusing. And I&#x27;m saying that with a minor in math and a CS degree specializing in security; I&#x27;ve don&#x27;t this before, just not in a while.<p>For example:<p>&gt;In order to generate e, we&#x27;ll need to find a random prime number that has a greatest common divisor (GCD) of 1 in relation to ϕ(n).<p>How can a prime number have any divisor that isn&#x27;t 1, let alone a gcd? Either that&#x27;s mistaken, or it&#x27;s unnecessary to state.<p>There&#x27;s also no explanation of what purpose the totient value is. The author simply states it&#x27;s needed, but not what value it provides.<p>In short, it feels like it&#x27;s written for people who already know the answers, not for people trying to learn.
评论 #15911753 未加载
评论 #15912776 未加载
评论 #15910869 未加载
评论 #15913007 未加载
评论 #15915330 未加载
评论 #15910820 未加载
评论 #15913569 未加载
hannob超过 7 年前
A better title would be &quot;How RSA does not work&quot;.<p>I&#x27;m a bit annoyed by many of these crypto introductions that explain textbook RSA, which is not something anyone uses in a real world application. It is crucial for RSA to use a padding mode and that&#x27;s where all the fun comes in and what decides about how secure the thing you&#x27;re building is.
AngeloAnolin超过 7 年前
Noticed that this page worked on Chrome, but not on FF.<p>On FF (57.0.2) Windows 7, the message is as below:<p>Error 1010 Ray ID: 3cc3b2b85d0b9300 • 2017-12-12 21:15:17 UTC Access denied What happened?<p>The owner of this website (fly-io.ghost.io) has banned your access based on your browser&#x27;s signature (3cc3b2b85d0b9300-ua48).<p>Not sure if the author or website owner had a beef with FF.
评论 #15909596 未加载
评论 #15909820 未加载
评论 #15909598 未加载
评论 #15909584 未加载
评论 #15909599 未加载
kss238超过 7 年前
Can someone explain this section some more<p>&gt;Considering that we need a distinct key for each individual, that exchanging keys with each person would be a significant computational burden, and that there are more cryptographic functions needed than simply exchanging keys, new methods arose.<p>Isn&#x27;t this exactly what RSA does, exchanging a private symmetric key with asymmetric crypto? The next paragraph makes it seem like RSA does something different.
评论 #15909606 未加载
评论 #15909646 未加载
sethgecko超过 7 年前
I just made a quick Python implementation (3.6+ only as it uses the secrets module)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mcdallas&#x2F;rsa" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mcdallas&#x2F;rsa</a>
评论 #15914585 未加载
orliesaurus超过 7 年前
interesting, these folks at fly.io sure put out a lot of content!