• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to provide Encryption and Decryption  RSS feed

 
Venkatesh Rajendran
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Short:
How to provide decryption while sending mail.
Deatil:
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.
Venkat
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

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.
karl
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!