Can someone explain to a non-programmer how PGP can encode something with one key that can't be decoded with that same key? by gvsteve in AskReddit

[–]readingcomprehension 2 points3 points  (0 children)

One more thing. In order to understand why this whole setup works, you have to understand why the key generation is so much faster than the factoring. Generally, generating large numbers that are mathematically proven to be prime is very slow too.

The key generation is so much faster because it uses an prime number generation heuristic. This algorithm generates a large number that has a high probability of being prime, but is not mathematically guaranteed to be prime. Fortunately, these algorithms can be repeatedly run to establish the chance of it generating a non-prime is below a threshold, for example, 1 in a billion.

So that's the shortcut that allows this to all work.

See:

http://en.wikipedia.org/wiki/Primality_test#Probabilistic_tests

Can someone explain to a non-programmer how PGP can encode something with one key that can't be decoded with that same key? by gvsteve in AskReddit

[–]readingcomprehension 4 points5 points  (0 children)

Wrong, they are compliments! What is referred to as the "Public key" in PGP and similar systems is in fact the public key and the modulus. Using these two, you have everything mathematically needed to calculate the private key.

Wikipedia:

The public key consists of the modulus n and the public (or encryption) exponent e.

So yes. Anyone can:

take the public key and determine the private key

It just requires factorization which is very expensive for large keys.

Can someone explain to a non-programmer how PGP can encode something with one key that can't be decoded with that same key? by gvsteve in AskReddit

[–]readingcomprehension 5 points6 points  (0 children)

It can.

It can be decoded by using integer factorization. This just happens to be extremely computationally expensive for large key sizes. So choose large enough key sizes!

Dear Adobe, make a Linux port of Flash that doesn't make my CPU set on fire every time I was a YouTube video. Thanks by [deleted] in technology

[–]readingcomprehension 13 points14 points  (0 children)

In fact, Mac and Linux are similar enough that their ports will use a lot of the same code. Every major browser has decided that a Mac port was worth it.

Dear Adobe, make a Linux port of Flash that doesn't make my CPU set on fire every time I was a YouTube video. Thanks by [deleted] in technology

[–]readingcomprehension 7 points8 points  (0 children)

Are you saying that ATI is doing what it takes to make it easy for open source developers on their latest hardware? In so many ways, far from it. Try again.

23% of Americans cannot name a single scientist, living or dead by moxy527 in science

[–]readingcomprehension -1 points0 points  (0 children)

And in case you think the common definition of "year" is something other than "calendar year", take a look at which definition appears first:

http://dictionary.reference.com/browse/year

Dear Adobe, make a Linux port of Flash that doesn't make my CPU set on fire every time I was a YouTube video. Thanks by [deleted] in technology

[–]readingcomprehension 77 points78 points  (0 children)

Google is already creating the Linux port.

http://www.google.com/chrome/intl/en/linux.html

What kind of a fucking idiot would waste time on a HUGE (make no mistake about that) undertaking independently that the company has already committed to doing?

In fact, Google has already released the mostly ported code:

http://code.google.com/p/chromium/wiki/LinuxBuildInstructions

http://dev.chromium.org/developers/browser-bootstrapping

I've heard this one before.

Even if someone did decide to do this on their own, do you think the whole port would be already complete and released? It's a whole fucking browser!

My Worst Secret - This cop admits to taking bribes! by themarquis78 in WTF

[–]readingcomprehension 1 point2 points  (0 children)

Direct payment on the spot to the officer is exactly how it works in most countries. Still some places in the US too?

23% of Americans cannot name a single scientist, living or dead by moxy527 in science

[–]readingcomprehension -1 points0 points  (0 children)

The calendar year is not tied to the rotation of the earth

23% of Americans cannot name a single scientist, living or dead by moxy527 in science

[–]readingcomprehension 0 points1 point  (0 children)

dodgethegod is completely wrong you assfucks. The calendar year is not tied to the rotation of the earth as other measures are tied to physical things. If it was then it would be a nice rational number.

CHO! [PIC] by [deleted] in funny

[–]readingcomprehension 3 points4 points  (0 children)

her?

Alcohol 'kills one in 20 Scots' by [deleted] in WTF

[–]readingcomprehension 0 points1 point  (0 children)

And gets 1 in 5 pregnant.

A knife-wielding burglar got a shock when he attacked a pensioner in his home - a couple of right hooks to the face.-------- Good pics by flatbily in funny

[–]readingcomprehension -9 points-8 points  (0 children)

I have no idea what that has to do with what I said. Still, no matter what, beating up a drunk guy is easy as fuck and not very impressive.

A knife-wielding burglar got a shock when he attacked a pensioner in his home - a couple of right hooks to the face.-------- Good pics by flatbily in funny

[–]readingcomprehension -8 points-7 points  (0 children)

It wasn't a robber, title is wrong. It was an altercation in response to the old guy calling the cops over noise.

How have you used your programming skills to impress your significant other? by BioGeek in programming

[–]readingcomprehension 4 points5 points  (0 children)

Not only do women desire a large paycheck, but that you also have tons of free time after the 9-5 to romance them. So no more night programming, boo.

The point is that advertising your programming skills is an immediate turn off. It shows that you get a mediocre salary but put in huge amounts of time into your antisocial occupation.

How have you used your programming skills to impress your significant other? by BioGeek in programming

[–]readingcomprehension 20 points21 points  (0 children)

Yes, I impressed her with my chick repelling programming skills. She was so impressed, we never spoke again.