add support for optional ciphering of lines and decoding