Originally posted by FY Hsieh:
In JDK, what's the common and popular encrypt/decrypt API ?
Originally posted by Rahul Bhattacharjee:
JCE is already in place with JDK to take care of your encryption and decryption.But I do not think is has any direct function to do this.
You can use symetric approach if you need to encrypt/decrypt a string.Using the JCE you can create symetric key and then with the help of cipher and the key you can decrypt and you need to use the very same key for decryption.
Do people usually pass the string along with the key over the network ?
Originally posted by Ulf Dittmer:
That kind of defeats the purpose of encryption. I f you pass the ciphertext along with the key for decryption you might as well send the cleartext instead. Generally, the key is communicated to wherever it is needed by other channels.
Originally posted by Ulf Dittmer:
That kind of defeats the purpose of encryption. I f you pass the ciphertext along with the key for decryption you might as well send the cleartext instead. Generally, the key is communicated to wherever it is needed by other channels.
Originally posted by FY Hsieh:
so, could you give some details on how to pass an encrypted string to another JVM (suppose they can use the same encryption algorithm or API) for it to be decrypted on the other end ?
Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Originally posted by D Rog:
Do you have any working examples of your approach? it looks very interesting for me, however I wouldn't like to start with pure idea.
F is for finger. Can you stick your finger in your nose? Doesn't that feel nice? Now try this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|