Here, we implement reliable data transfer in Java over existing UDP network using Stop and Wait protocol and secure transmission using the symmetric RC4 Algorithm.
We send INIT packets for handshake, Nonce bits for encryption and perform Integrity check on Payoad data.