Search content
Sort by

Showing 3 of 3 results by TMorita
Post
Topic
Board Development & Technical Discussion
Re: Generate public key from 256 bit private key
by
TMorita
on 10/04/2014, 18:21:53 UTC
The whole point of public key encryption is you cannot generate a public key from a private key, and vice versa.

Toshi

Where did you get an idea like that?

Public keys can always be generated from a private key (although apparently you need some tool other than openssl).

This doesn't sound right.

AFAIK a public-key encryption algorithm relies on two keys: a private key and a public key.

Messages encoded using the private key can be decoded using the public key, and vice versa.

Therefore, PKE can be used for authentication because one can prove one owns the private key matching a certain public key without disclosing the private key itself.

If a private key corresponding to a public key can be generated arbitrarily, then this allows impersonation.

Toshi

Post
Topic
Board Development & Technical Discussion
Re: Generate public key from 256 bit private key
by
TMorita
on 09/04/2014, 23:24:21 UTC
The whole point of public key encryption is you cannot generate a public key from a private key, and vice versa.

Toshi
Post
Topic
Board Development & Technical Discussion
Re: Same block hash
by
TMorita
on 03/04/2014, 22:28:34 UTC
The odds of the two blocks hashing to the same value is about 2^256 which is about 1.15 * 10^77.

In case you don't understand scientific notation, the chance is about 1 in 115000000000000000000000000000000000000000000000000000000000000000000000000000.

The odds of being killed by a meteorite is about 1 in 250,000

http://www.wired.com/2013/02/asteroid-odds/

Odds of death by lighting are about 1 in 10,000,000.

http://www.theblaze.com/stories/2013/02/15/how-likely-are-you-to-die-from-gun-violence-this-interesting-chart-puts-it-in-perspective/

You would be better off planning for these two events.
These events are much more likely to occur.

Toshi