Top "Private-key" questions

Private key that occurs in asymmetric cryptography algorithms such as RSA and Diffie-Hellman as the counterpart to a 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
Please create a master key in the database or open the master key in the session before performing this operation

I get the following error on secondary replicas when trying to restore an encrypted backup even though the replica has …

sql encryption certificate sql-server-2016 private-key
Create PrivateKey and PublicKey from a String base64 encoding with DER format

I have my Private and Public keys in a String in base64 which where encoded using ANS1 DER. I tried …

java encryption private-key der
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 do I get the public key of a pem file?

I have a .pem file containing my private key. However, a BitBucket deployment key has this format: ssh-rsa AAAAB3NzaC3…

ssh cryptography bitbucket private-key pem
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
Encrypting with RSA private key in Java

I'm trying to encrypt some content with an RSA private key. I'm following this example: http://www.junkheap.net/content/…

java encryption cryptography rsa private-key
Get Private Key from BouncyCastle X509 Certificate? C#

Normally when I grab an X509Certificate2 out of my keystore I can call .PrivateKey to retrieve the cert's private …

c# x509certificate bouncycastle private-key
How to generate a RSA keyPair with a Privatekey encrypted with password?

I want to generate a privatekey PKCS8 format encrypted with password, and I try with this code: String password = "123456"; KeyPairGenerator …

java openssl bouncycastle private-key
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