]> git.mxchange.org Git - core.git/blobdiff - inc/main/classes/streams/crypto/class_McryptStream.php
Continued:
[core.git] / inc / main / classes / streams / crypto / class_McryptStream.php
index f39b4d059a68dc1c6f2c4020f008958527422aee..2535f812ae8ec9c5d556615b4d701f8ae92409cc 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Own namespace
+namespace CoreFramework\Stream\Crypto;
+
 /**
  * A mcrypt-based encryption stream
  *
@@ -7,6 +10,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @todo               mcrypt will become deprecated, rewrite to OpenSSL
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -169,7 +173,5 @@ class McryptStream extends BaseStream implements EncryptableStream {
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}