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.

RSA encryption in C#: What part defines the public key?

I've generated a new public/private key pair and exported it as an XML string: RSACryptoServiceProvider RSA = new RSACryptoServiceProvider(2048); string …

c# .net cryptography rsa public-key-encryption
Can org.bouncycastle.openssl.PEMReader read java.security.PrivateKey?

I have following code: PrivateKey key = null; X509Certificate cert = null; KeyPair keyPair = null; final Reader reader = new StringReader(pem); …

java cryptography openssl bouncycastle public-key-encryption
How to get public key from an OpenPGP smart card without using key servers?

I am working on a use-case where OpenPGP is being used to generate a public key pair on a smart …

security public-key-encryption gnupg
java.security.InvalidKeyException: Key length not 128/192/256 bits

I am new to Java and was trying to use Hybrid cryptography using AES-128 Symmetric encryption and then RSA-1024 Asymmetric …

java cryptography public-key-encryption encryption encryption-symmetric
SSH IdentitiesOnly=yes forwarding all my keys

I cannot for the life of me figure out why my SSH config is forwarding the wrong key. I have …

ssh public-key-encryption ssh-agent
gpg: Sorry, no terminal at all requested - can't get input

When decrypting I get following error: $ eyaml decrypt -s 'ENC and the key goes on here' .gnupg --quiet --no-secmem-warning --no-permission-warning …

linux architecture public-key-encryption gnupg snakeyaml
How long would it take my i-7 processor to factorise a 1024 bits number (consisting of just 2 prime factors)

We're examining the RSA algorithm and would like to know how much time it would take an intel i-7 core (@ 2.50 …

rsa public-key-encryption factorization
Swift 3 export SecKey to String

I am developing an iOS app using swift 3. I need to export an SecKey (which is the user RSA publickey …

ios swift swift3 public-key-encryption seckeyref
Pushing to TFS git using public/private key

I have a TFS server which is using git for source-control. How do I use ssh style public/private keys …

git tfs public-key-encryption
is it safe to store ssh keys on github?

I would like to know if is it safe to store public and private key on a public git repository ? …

cryptography rsa public-key-encryption ssh-keys