Added an EncryptedOutputStream inner class for SHE