Created encryption stream.
Changed EncryptionPlugin to create output stream
Updated plugin