Encrypt/Decrypt now uses ioStreams for smaller footprint