Removed cipher, added code to transmit safely