• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How to provide Encryption and Decryption

Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
How to provide decryption while sending mail.
I am sending mail to suppliers using java mail concept during that time i would like to prived some security, for that i have used my encryption method and i have also created my own decryption,now how can i use this decryption is it possible or is there any other method to provide decryption.I would like to know whether i am going in the right way or not. b'se we can't ask suuplier to use our java program to decrypt so is there any other way to provide decryption.
what about digital signature? for that also we need to check the file in receiver side.
I hope some common method will be there to provide such securtiy if any one knows this concept please help me to do this. it is most urgent.
thank you very much in advance.
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

you wrote your own en/decryption ?
try the jce and java.security packages. they provide everithing you need.
signatures do not prevent somebody from reading but from altering your eMails.
if they cant use your decryption methods, what can they use ? i propose you first check what they can use and then see wheter this works for you too.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic