Top "Public-key" questions

Public-key (or asymmetric) cryptography is a form of cryptography that does not require common secrets between the communicating partners.

Encrypt in Javascript, decrypt in PHP, using public-key cryptography

I'd like to encrypt in JavaScript, decrypt in PHP, using public-key cryptography. I've been trying to find libraries that can …

javascript php rsa public-key pgp
How do I send someone my SSH public key?

I need to send my SSH Public Key to one of my customers, but I am not quite sure how …

file ssh send ssh-keys public-key
How to sign string with private key

How can I get the signature of a string using SHA1withRSA if I already have the Private Key as …

java digital-signature private-key sign public-key
Generate Private and Public key OpenSSL

I have the following commands for OpenSSL to generate Private and Public keys: openssl genrsa –aes-128-cbc –out priv.pem –…

openssl rsa private-key public-key
How to create a X509 certificate using Java?

I want to create a X509 certificate using Java language and then extract public key from it. I have searched …

java certificate x509certificate public-key
Converting Strings to encryption keys and vice versa java

I'm currently working on a way to convert keys into strings and vice versa. It works for the public key …

java encryption private-key public-key
Extract public key from certificate in DER format

I have a .cer certificate file, and need to extract the Public Key. I can only extract to PEM format. …

openssl certificate extract public-key der
How to convert Byte array to PrivateKey or PublicKey type?

I am using RSA algorithm to generate public and private key final KeyPairGenerator keyGen = KeyPairGenerator.getInstance(ALGORITHM); keyGen.initialize(1024); final …

java cryptography private-key public-key jce
Setup SFTP to use public-key authentication

How do you setup server to server SFTP to use public-key authentication instead of user account and password?

linux unix authentication sftp public-key
SSH: "Bad passphrase" after generation of public key

When I execute these commands (setting a passphrase, after the first)... $ ssh-keygen -t dsa $ chmod 600 my_key $ chmod 600 my_key.…

ssh public-key passphrase