You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 3@Ashwin - As D.W. said, asymmetric cryptography is roughly 10000 times slower/more CPU intensive than using a block cipher. So it makes sense to only transfer enough info to then use the much faster key.dr jimbob– dr jimbob2012-04-11 14:30:46 +00:00Commented Apr 11, 2012 at 14:30
- 1RC4, not AES in this particular case, but past the particular symmetric algorithm used..ewanm89– ewanm892012-04-12 12:54:31 +00:00Commented Apr 12, 2012 at 12:54
- 1@drjimbob not to mention key generation, we only use likely primes not guaranteed primes cause of that one :/ewanm89– ewanm892012-04-12 12:55:08 +00:00Commented Apr 12, 2012 at 12:55
- 1@ewanm89 - Yes, we only use likely primes -- but with astronomical odds they actually are prime. With random entropy input the chance of getting a false positive prime in openssl with default settings is 1 in ~2^80 ~ 10^24 So until you check about ~10^23 numbers for primality with overwhelming odds you can assume your numbers are truly prime. E.g., if you check a billion potential primes a second, it will take ~10 million years before you are likely to have a false positive prime in your keypair. Edited for RC4/AES mixup.dr jimbob– dr jimbob2012-04-12 15:23:18 +00:00Commented Apr 12, 2012 at 15:23
- 2factoring is not NP hard. It's just there is no known algorithm that can factor in polynomial time but AFAIK no one has proven it can't be done. en.wikipedia.org/wiki/Integer_factorizationGuy Sirton– Guy Sirton2012-04-13 02:02:42 +00:00Commented Apr 13, 2012 at 2:02
| Show 10 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. web-application), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you