• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Encryption issue

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

I am posting a question which may not be relevant to this Forum.However,I need help urgently.

I am supposed to encrypt and decrypt the password using Des3 algorithm. I do have Des3Cipher.java downloaded from acme.crypto site.

There seems to be some problem in Des3Cipher.java.It is not 100% correct.In some cases encryption-decryption is not happening correctly.

I've also gone through the javax.crypto API.

But in this API is there a way where in I can specify my own key without using SecretKey class.

Plz let me know the solution asap.I need it very urgently.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you are right, this is completely off topic for this forum. So I am going to move it.

I would be more careful to post in the best forum, especially since it is urgent for you. By putting it in the wrong forum will slow down the responses. As you can see here, it was about to drop off the page without any responses.

I am going to move it to the Java In General (Advanced) forum.

Good Luck

Mark
 
Marshal
Posts: 27450
88
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Not happening correctly"? Well, that isn't a very explicit piece of information. But I'm going to guess, and suggest that you are converting the encrypted bytes into a String and back again. If you are, then stop doing that. If not, then let's see some code and some details about what is going wrong.
 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic