Does "ReadPublicKey("publicReceiver.k")" return the same result each time it is called? If not, then all bets are off.
Note that encrypted stuff is binary data, not text - so an operation like "new String(encrypted stuff)" does not make sense, and will lead to unexpected results.
What do you mean by "when I execute the minutes" - are you running this code several times within a few minutes, or what?
Ulf Dittmer wrote:Does "ReadPublicKey("publicReceiver.k")" return the same result each time it is called? If not, then all bets are off.
Ok it here
Note that encrypted stuff is binary data, not text - so an operation like "new String(encrypted stuff)" does not make sense, and will lead to unexpected results.
I have two method so that show result encrypt and decrypt format String
I continue test, when i write
The result is data1 unlike data2 !! Why ??? hixhix.