I have a small issue with my code where im encrypting and decrypting messages. My import org.apache.commons.codec.binary.Base64;. does not work. It says binary does not exist_ Any idea why this happens?. Ive downloaded the codec but im starting to wonder if it has to do with where the codec folder is located, but i may be wrong. Any ideas?
P.S. That code has some significant weaknesses a major one being that the private key is created on the fly so is not private to the person who is to receive the cipher text! This defeats the aim of public key cryptography.