I can't find a definite answer on this so I figured I'd ask.
How would I create a Java program that would intercept and encrypt (preferably with AES) all internet traffic leaving the computer? I think the biggest issue would be catching and encrypting everything, which also is the part I'm not sure how to do.