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.

Is there a way to "autosign" commits in Git with a GPG key?

Is there an easy way to make Git always signs each commit or tag that is created? I tried it …

git public-key-encryption gnupg
RSA Encryption Decryption in Android

I am implementing a demo for RSA Encryption and Decryption in Android. I can Perform Encryption very well, but In …

android rsa public-key-encryption encryption
How is SSH_AUTH_SOCK setup and used by ssh-agent?

I have been able to setup the sharing of ssh-agent for public-key authentication after reading https://superuser.com/a/230872/301446 The …

sockets ssh public-key-encryption ssh-agent
How to do PGP in Python (generate keys, encrypt/decrypt)

I'm making a program in Python to be distributed to windows users via an installer. The program needs to be …

python encryption public-key-encryption gnupg pgp
Setting up OpenSSH for Windows using public key authentication

I am having issues setting up OpenSSH for Windows, using public key authentication. I have this working on my local …

windows ssh public-key-encryption openssh public-key
C# How to simply encrypt a text file with a PGP Public Key?

I've researched a bit about how to achieve what I said in the question and found several APIs but most …

c# encryption public-key pgp public-key-encryption
How to use public and private key encryption technique in C#

I want to encrypt data using public/private key technique. I mean, encrypt with the public key of receiver and …

c# encryption cryptography public-key-encryption private-key
gnupg: There is no assurance this key belongs to the named user

I'm trying to use interesting password management tool named Pass. I did the following: Installed gpg tool $ sudo dnf install …

encryption passwords public-key-encryption gnupg
DH vs. DHE and ECDHE and perfect forward secrecy

Does Diffie-Hellman (DH) provide perfect forward secrecy? or is it a feature for Ephemeral Diffie-Hellman (DHE) only ? Is Elliptic Curve …

ssl public-key-encryption diffie-hellman
How to convert from String to PublicKey?

I've used the following code to convert the public and private key to a string KeyPairGenerator keyPairGen = KeyPairGenerator.getInstance("RSA"); …

java encryption cryptography public-key-encryption