X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/canny.git/blobdiff_plain/8290657e61738a93b7b6eb60966c49efbc4f0af8..ebe8c2f159425cf2a2f7a696eedb593305fd19b7:/schema.dot?ds=sidebyside

diff --git a/schema.dot b/schema.dot
index 165432b..5edc80e 100644
--- a/schema.dot
+++ b/schema.dot
@@ -1,20 +1,29 @@
 digraph start_up { 
-	node [style = rounded, shape = rect] IC [label="Image\nCover X "]
-	node [style = rounded, shape = rect] message [label="message"]
-	node [style = rounded, shape = rect] key 
+	node [style = rounded, shape = rect] PI [label="Choose cover X"]
+	node [style = rounded, shape = rect] PIb [label="Set b, T"]
+	
+        node [style = rounded, shape = rect] message [label="Message mess"]
+	node [style = rounded, shape = rect] key [label="Key k"]
+	node [style = rounded, shape = rect] ee [label="Modify b, T"]
 
-	node [style = rounded, shape = rect] PI [label="Parameter\nInstantiation"] 		 
-	node [style = rounded, shape = rect] encrypt [label="m=encryption(message)"] 		 
-	node [style = rounded, shape = rect] STC [label="y= STC(x,m)"] 		 
-	node [style = rounded, shape = rect] emb [label="stego=embedding(y,X)"] 		 
 
-	node [style = rounded, shape = rect] start end;
-	node [style = rounded, shape = rect] ED [label="x= LSB(7 bits\nEdge Detection)"]  
+	node [style = rounded, shape = rect] encrypt [label="m=encryption(mess,k)"] 		 
+	node [style = rounded, shape = rect] STC [label="y= STC(x,m,H)"] 		
+	node [style = rounded, shape = rect] sample [label="y= sample(x,m)"] 		 
+	node [style = rounded, shape = rect] emb [label="stego=embedding(y,X)"] 		 
 	
-	node [style = "", shape = diamond] cond [label="Size of x\n enough for m"]; 
+	node [style = rounded, shape = rect] start [label="Start"]
+	node [style = rounded, shape = rect] end [label="End"]
+	node [style = rounded, shape = rect] ED [label="x=Edge Detection(b,T,X)"]  
 	
+	node [style = "", shape = diamond] cond [label="Size of x\n enough for m"]; 
+	node [style = "", shape = diamond] condStrat [label="Strategy is fixed"]; 
+
+	node [style = "", shape = diamond] condEmb [label="Use of STC"]; 
+
 	start -> PI
-	start -> IC
+	start -> PIb
+	
 	start -> message
 	start -> key 
 
@@ -22,15 +31,28 @@ digraph start_up {
 
 
 	message -> encrypt
-	IC -> ED
 	ED -> cond
 	encrypt -> cond
-	encrypt -> STC
-	cond -> STC [label="Yes"]
-	cond -> PI [label="No"]
+	cond -> condEmb [label="Yes with H"]
+	cond -> condStrat [label="No"]
+
+	condEmb -> STC [label="Yes"]
+	condEmb -> sample [label="No"]
+
+
+
+	condStrat -> ee [label="Yes"]
+	condStrat -> PI [label="No"]
+
+	ee -> ED
 	
 	PI -> ED
+	PIb -> ED
 	STC -> emb
-	emb -> end
+	sample -> emb
 	
+	emb -> end
+
+	key -> sample
+
 	 }
\ No newline at end of file