Chat program's encryption/decryption is now working perfectly (so far as i've been testing).