In theory you certainly can put multiple pieces of data together into one string and encrypt that string, though you'd want a better way of putting the data together. Your current code, with commas between username, password, and nonceInString won't compile, but if you can prevent, for instance, a colon existing in any of those strings, you could do something like.
In theory you certainly can put multiple pieces of data together into one string and encrypt that string, though you'd want a better way of putting the data together. Your current code, with commas between username, password, and nonceInString won't compile, but if you can prevent, for instance, a colon existing in any of those strings, you could do something like: String codeWord = username+":"+password+":"+nonceInString; And then when you decode simply split on the colon.
Thanks for your reply. Yeah, I typed wrongly. The correct code was String codeWord = username + password + nonceInString; it works for both encryption and decryption.umm.. how do I drcrypted back to get the individual value?
– sebby_zml Apr 29 '10 at 2:31 Well that's what I'm suggesting with doing something like delineating the values by colons, then you can use String.split() to get the parts again. Java.sun. Com/javase/6/docs/api/java/lang/…) – dimo414 Apr 29 '10 at 3:31 thank you.It is solved.
=) – sebby_zml Apr 29 '10 at 5:17 Glad I could help! – dimo414 Apr 30 '10 at 0:21.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.