#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    C# Asymmetric Cryptography


    Hi

    I'm a Java developer. A part of web application uses asymmetric cryptography. Using java keytool, we generate a key pair (public key and private key - RSA/ECB/PKCS1Padding). We extract the certificate associated with the public key and pass it to the client.
    Client uses .NET environment. Client needs to read public key from the certificate and use that public key to encrypt a string. The encrypted token (URL safe) is passed to us. This will be decrypted on our side (Java environment).
    I would like to hear some thoughts from .NET experts, if any of these cause compatiability issues? Any sample snippets (C#) or advice....

    Thanks
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0
    Thank you. Let me have a look at the library.

IMN logo majestic logo threadwatch logo seochat tools logo