encrypt output file on transmitter