Ecncryption between java and c#

From: SonofonoS (sonofonos_at_hotmail.com)
Date: 10/20/04


Date: 20 Oct 2004 09:56:28 GMT

Hi NG.

How do I encrypt a string from a C# application and then be able to read
that string on a java applikation.

Im figuring that I should use something with a public and a private key,
where the public key is with the c# application and the private key is with
the java applikation.
Anyone who can give me a hint how to get it working and which algorithm to
use? Should be one above 128bit.

Thanks in advance

SonofonoS



Relevant Pages

  • Re: Ecncryption between java and c#
    ... > that string on a java applikation. ... > Im figuring that I should use something with a public and a private key, ... For RSA type encryption algorithms the key length is arbitrary. ...
    (comp.lang.java)
  • Re: encryption question
    ... If I keep a "test" string stored somewhere, where I know what this string value should be when unencrypted, will this comprimise security? ... I would like to know if the answer to this question depends on algorithm used (i.e. public/private key pair or straightforward encryption (blowfish?)). ... to any one eg you share the public which is used to encrypt the information but this encrypted information can only be decrypted by a private key knowen only to you, in any other case a simple key based encryption would do just the same. ... You will use the public key shared with your application to encrypt any data that are send back to your site/home etc and in this data you will include the public key you have created during installation for this machine. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Propeller Efficiency
    ... public key it's used to prove the message came from who it says it did ... since nobody else's private key will encrypt to the appropriate string ...
    (rec.aviation.piloting)
  • Re: Ecncryption between java and c#
    ... >> read that string on a java applikation. ... > note that strong encryption using primes is computationally expensive. ... I then encode that byteand put it in a file. ...
    (comp.lang.java)
  • Encrypt/Decrypt String with RSA and X509Certificate
    ... I want to encrypt a string "secret message" with the public key of the ... certificate and decrypt this string with the private key. ... but I can't import the private key from the ...
    (comp.lang.java.programmer)