This content has been marked as final. Show 1 reply
You need to elaborate on your requirement since 'encode' and 'encrypt' do not necessarily mean the same thing.
Also, it is unlikely that anyone will post a complete solution for two reasons. First, without a knowledge of the background and context to the requirement one cannot be sure one has created a secure enough solution and second, you are getting paid for this but we are not. If you actually need encryption then I suggest you purchase David Hook's "Beginning Cryptography with Java" and study it.