Top "Public-key-encryption" questions

An cryptographic scheme which uses two mathematically related keys; a public and a private key where a message encrypted with public key can only be decrypted with the private key and vice-versa.

Use RSA private key to generate public key?

I don't really understand this one: according to: http://www.madboa.com/geek/openssl/#key-rsa , You can generate a public …

openssl rsa public-key-encryption
RSA Public Key format

Where can i find some documentation on the format of an RSA public key? An RSA public key formatted by …

encryption rsa public-key-encryption
Unable to load config info from /usr/local/ssl/openssl.cnf on Windows

While using OpenSSL on Windows: openssl genrsa -out privatekey.pem 1024 --> Created successfully openssl req -new -x509 -key privatekey.…

windows openssl public-key-encryption
How to extract public key using OpenSSL?

The following command generates a file which contains both public and private key: openssl genrsa -des3 -out privkey.pem 2048 Source: …

openssl public-key-encryption pki
gpg decryption fails with no secret key error

I have a gpg .key file that is used as passphrase for decrypting a .dat.pgp file. The encrypted .data.…

unix encryption public-key-encryption gnupg
Cracking short RSA keys

Given the following RSA keys, how does one go about determining what the values of p and q are? Public …

math rsa encryption-asymmetric public-key-encryption
How does a public key verify a signature?

I am trying to get a better grapple on how public/private keys work. I understand that a sender may …

digital-signature public-key-encryption private-key public-key pki
Encrypting data with a public key in Node.js

I need to encrypt a string using a public key (.pem file), and then sign it using a private key (…

node.js public-key-encryption encryption-asymmetric
How does the man in the middle attack work in Diffie–Hellman?

I'm having doubts about the mechanics of a man in the middle attack during a Diffie–Hellman key exchange. I …

public-key-encryption diffie-hellman