TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How RSA Works: TLS Foundations

164 pointsby rmdossover 7 years ago

6 comments

mabboover 7 years ago
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 未加载
hannobover 7 years ago
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.
AngeloAnolinover 7 years ago
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 未加载
kss238over 7 years ago
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 未加载
sethgeckoover 7 years ago
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 未加载
orliesaurusover 7 years ago
interesting, these folks at fly.io sure put out a lot of content!