Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Encryption between Java and ASP.Net

Encryption between Java and ASP.Net

Scheduled Pinned Locked Moved Java
csharpjavaasp-netcomsecurity
2 Posts 1 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    doWhileSomething
    wrote on last edited by
    #1

    Hello, I've only dabled a bit in Java, I work almost exclusively with .Net. That being said, I am looking to do encrypt a string from a java application (this will be done by another developer), decrypt it in .Net and send an XML response to the the java app. Is there a universal method for encryption in Java that would allow us to use the same encryption key/method? I know how to encrypt/decrypt in .Net, I just need to know if there is a standard that is used by both frameworks?

    My Personal Site

    D 1 Reply Last reply
    0
    • D doWhileSomething

      Hello, I've only dabled a bit in Java, I work almost exclusively with .Net. That being said, I am looking to do encrypt a string from a java application (this will be done by another developer), decrypt it in .Net and send an XML response to the the java app. Is there a universal method for encryption in Java that would allow us to use the same encryption key/method? I know how to encrypt/decrypt in .Net, I just need to know if there is a standard that is used by both frameworks?

      My Personal Site

      D Offline
      D Offline
      doWhileSomething
      wrote on last edited by
      #2

      FYI - (in case anyone is interested) I just used standard DES encryption which worked out great for my situation. As long as the same rgb/rgbIV keys are used on both ends, the entire process was very painless.

      My Personal Site

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups