FAQ Database Discussion Community


Encryption between desktop app and server - C# to PHP

c#,php,encryption-symmetric,encryption-asymmetric
I have an app which is designed in C#. In simple terms the app sends data and image to my web server which takes all the $_POST data and processes it. I will confess i do not understand how the security end of things work. I will employ someone with...

CryptoAPI - how to extract RSA public key from private

rsa,public-key-encryption,cryptoapi,encryption-asymmetric
Using windows CryptoAPI, is it possible to get public RSA key from a private key which was imported (not generated)? If I use CryptGenKey, I can call CryptExportPublicKeyInfo and CryptImportPublicKeyInfo to obtain the public key handle. However, when I try to do the same thing with private key decoded from...

How to perform RSAES-OAEP encryption and decryption using .NET Framework?

.net,cryptography,rsa,encryption-asymmetric
The question is fairly straightforward - is RSAES-OAEP possible with the built-in cryptographic primitives? If not, is a 3rd party library such as BouncyCastle able to provide such functionality? The purpose of this is to encrypt a 256-bit AES key....

Symmetric and public key encryption

encryption,cryptography,key,encryption-symmetric,encryption-asymmetric
Suppose N people want to communicate with each of N- 1 other people using symmetric key encryption. All communication between any two people, i and j, is visible to all other people in this group of N, and no other person in this group should be able to decode their...