]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/streams/crypto/class_EncryptableStream.php
Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / framework / main / interfaces / streams / crypto / class_EncryptableStream.php
index c8849660298c904798c05daac6b7c0fa74bdb4c1..7f20dc669e4f3b9f0079bb0bd9aa82ab0993c118 100644 (file)
@@ -1,9 +1,12 @@
 <?php
 // Own namespace
 <?php
 // Own namespace
-namespace CoreFramework\Stream\Crypto;
+namespace Org\Mxchange\CoreFramework\Stream\Crypto;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Stream\Stream;
 
 /**
 
 /**
- * An EncryptableStream interface
+ * An interface for encrypted data streams
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
@@ -25,6 +28,11 @@ namespace CoreFramework\Stream\Crypto;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface EncryptableStream extends Stream {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface EncryptableStream extends Stream {
+       /**
+        * Separator on many places
+        */
+       const DATA_PAYLOAD_SEPARATOR = '|';
+
        /**
         * Encrypt the string with fixed salt
         *
        /**
         * Encrypt the string with fixed salt
         *