Questions tagged [encryption-asymmetric]

A type of encryption which uses one key to encrypt a message and another to decrypt the message.

In asymmetric encryption, also referred as public-key cryptography, there are two related keys--a key pair. A public key is made freely available to anyone who might want to send you a message. A second, private key is kept secret, so that only you know it.

594 questions
0
votes
1 answer

RSA Public Private Key compatibility for JavaScript and C#

I have a multichannel application that has a Web Version and a mobile version using C#. This application uses 'Trust No One' security model. That means, the keys generated when the user registers are encrypted using a passphrase on the client side…
Preetham Reddy
  • 611
  • 2
  • 8
  • 19
0
votes
1 answer

How safe is Asymmetric Encryption

How secure is asymmetric encryption when sender encrypts with private key and reciever decrypts with public key but public key has visibility? any one can decrypt it
0
votes
2 answers

How to generate key pair in asymmetric encryption in java?

I am trying to generate a key pair in asymmetric encryption in Java, but I am getting an invalid key exception error and it says No installed provider supports this key: sun.security.rsa.RSAPrivateCrtKeyImpl. private static byte[] encrypt(byte[]…
Sam
  • 104
  • 3
  • 10
0
votes
1 answer

SQL Encryption - Asymmetric Key - 2nd Server

I created an asymmetric key on one of my SQL servers (2008). I encrypted a password field and I am able to retrieve that password just fine on my development server. The issue comes into play where I need to move this data to a production server.…
CodeLikeBeaker
  • 20,682
  • 14
  • 79
  • 108
0
votes
1 answer

Flexiprovider - How to encrypt/de with formatted keypair

Im using flexiprovider to encrypt/de with asymmetric algorithm based on Elliptic Curve following this tutorial. With a little modification, i'm gonna convert the public and the private key into Base64 for personal purpose (like storing into the…
Rhony
  • 86
  • 1
  • 10
0
votes
1 answer

Encrypting MongoDB password

I'm using spring's mongo template to access my db, I was wondering if it is possible to encrypt asymmetrically the password usage such that i'll provide the DB the one key, and I'll have the other. (Encrypt only the authentication part, not the…
gilad a
  • 39
  • 3
0
votes
0 answers

Should I be using asymmetric key?

I want to keep sensitive information online on github but I am struggling with how to implement this. Currently I have symmetric encryption with a very long key ( 4K characters ). but someone told me it is not safe enough and that I should be using…
guy mograbi
  • 27,391
  • 16
  • 83
  • 122
0
votes
1 answer

Asymmetric encryption with multiple decryption results

Edit I am trying to develop a password managing tool for companies. My idea is that the passwords in some kind of database are encrypted with a master password which only the admin has. Per department in a company there should be an own password,…
0
votes
2 answers

Asymmetric unique pair algorithm

This is a fast question. I know about asymmetric encryption and I know that you can use the private key to decrypt whatever is encrypted with the public key. I know too that having the Private key I can generate the public one associated to it.…
0
votes
1 answer

Public Key Integrity - Man in the middle attack

I want to license my product. The question is about validation and making sure that public key is not changed so is the certificate (Man in the middle attack). What I have planned so far is; I give my EXE with license key and signed certificate…
nommyravian
  • 1,316
  • 2
  • 12
  • 30
0
votes
1 answer

Encryption/Decryption crash

I have to write a "encryption" program for my C# intro class. I'm encountering 2 problems: When a negative is entered or it calculates a negative during the decryption process, it crashes. - it returns and unhandled exception error:…
Heather
  • 25
  • 1
  • 2
  • 7
0
votes
1 answer

How to generate Public and Private Key Pair?

I have read all about asymmetric encryption in PHP. I understand the mcrypt method. I understand the requirement of having two keys (Public and Private). The only thing I could not understand that where and how I generate these key pairs? Can anyone…
Nav
  • 105
  • 1
  • 2
  • 10
0
votes
1 answer

Verify p2p node

Hey guys, I have been working on a p2p namespace for some of my programs. I created a system to encrypt/decrypt the packets send/received with the class. I was using the basic public private key system: 1) encrypt the data with Symmetric…
Jess
  • 8,628
  • 6
  • 49
  • 67
0
votes
1 answer

combining Diffie-Hellman key exchange with RSA Encryption

I've successfully exchanged keys using DiffieHellman and now wanted to use those keys to encrypt the object I need to send across the wire using RSA encryption. DiffieHellman gives me the actual key so: Question #1 Is there a way to import the…
0
votes
1 answer

Encrypt Data using Public Key

$key = file_get_contents('http://keyserver.pramberger.at/pks/lookup?op=get&search=uid'); after getting public key in '$key' variable i need to encrypt the data using this public key. the key must be start with ----Begin pgp block ---to end pgp…