Questions tagged as 'rsa'

0
answers

How does the RSA encryption algorithm work? [closed]

I wanted to understand how the RSA algorithm works, step by step, for a better understanding and for me to use it properly.     
asked by 18.01.2016 / 16:53
1
answer

How to check the sender using the RSA algorithm

I had a question about my research that I could not solve. Let's look at an end-to-end form that uses RSA, Alice needs one hour to send her public key to Bob and vice versa to communicate, but if someone runs an MITM, security will be null, s...
asked by 15.03.2015 / 23:04
1
answer

KEK (Key Encryption Key) what is it and how to use it correctly

I was reading "Cryptography and Security: The official guide to RSA" but I was limited to a few pages (if anyone has the PDF of this please share !!) and then I came across KEK and could not read more .. What is it and how do you use it corre...
asked by 06.05.2015 / 00:50
1
answer

RSA, SSLStream - Key Exchange

Good people, I'm using SSLStream to communicate between a client and server, using OPENSSL. And this my client, is a machine (digi), which as a requirement has to use RSA encryption. So I have to do a public key exchange between client and serve...
asked by 03.07.2014 / 14:29
0
answers

Encrypt and Decrypt in RSA Public_key MOD

I am trying to encrypt strings in RSA, but I did not succeed. I've tried this way (with phpseclib lib): $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, '...'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_...
asked by 27.07.2018 / 02:42
1
answer

How to validate a signature with a private key?

I get an HTTP request that comes in the HEADER a signature (SHA1). I have, stored in a String, a private key. I need to generate the signature between the BODY of the HTTP request and my key and compare it with the signature that comes in the HE...
asked by 13.11.2015 / 14:44
1
answer

RSACryptoServiceProvider - Decrypt

Using RSA encryption, I pass the encrypted data from the client to the server decrypt. When trying to decrypt, it gives me an exception CryptographicException with the message:    Invalid flags specified. I have no idea Flag ma...
asked by 17.06.2014 / 15:24
1
answer

Problem trying to encrypt and decrypt using RSA

Hello, I'm doing a program that encrypts a user-generated file and then decrypts the encrypted file showing the original message. It's like the RSA implementation code of Bouncing Castle but saving the files. I'm just not able to pass encry...
asked by 11.11.2018 / 23:05
0
answers

Convert Encryption with public key JAVA to C #

I need to send an encrypted hash in C # but the API only gives me this possibility in java, how can I follow this logic and apply in C #? try { try { cipher = Cipher.getInstance("RSA/None/PKCS1Padding", "SC"); } cat...
asked by 14.06.2018 / 16:48
0
answers

Using asymmetric encryption between Xamarin PCL Client and Web Api

I'm having a problem creating an asymmetric encryption between my client app using Xamarin Forms (PCL) and the server (Web Api). I did using symmetric and asked for me to modify. I already do everything via SSL, but still want asymmetric encrypt...
asked by 20.09.2016 / 16:40