added i/o streaming to encryptor tool