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
BoardDevelopment & 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
BoardDevelopment & 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