New answers tagged key-generation
TL;DR Anytime an attacker has physical or logical access to private key material—even if encrypted at rest—one should certainly consider revoking the exposed keys. In your particular case, you should assume a compromise and act accordingly. Why You Should Revoke Your Keys Even had you not violated the principle of "thou shalt not reuse ...
Check out my brainkeys experiment. https://github.com/jwilkins/brainkeys It takes a phrase and turns it into a SSH public/private keypair. Based on the brainwallet concept and code.
You cannot use arbitrary strings as private/public key pairs. These needs to be generated according to the math specifics to the PKI algorythm you use (RSA for instance). You could, however, create an application that uses the same workflow as you described but uses PKI for encryption, as long as you're ready to make some tradeoffs. First, it starts with a ...
Since you have your n and e, you should get d and your totient. which is ϕ(n). Here is the example: Using: e(d) mod ϕ(n) ≡ 1, you can use an Euclidean algorithm to solve this equation to get d. How to get the n? Usually you take your two large prime numbers. e.g (p = 7 and q = 11) Your n in this case will be p*q-(7*11 = 77). How to get ϕ(n)-totient? ...
Top 50 recent answers are included