Andreas Wurst 2025-06-04 09:26:51 +02:00
parent bac9def176
commit 2cc1d414a5
3 changed files with 68 additions and 68 deletions

View File

@ -79,28 +79,28 @@ public class Passwort_Check {
if (passwort == null) {
return false;
}
// Überprüfung mit Regex durch Ausschluss
// [^A-Za-z0-9] Schließt alle ziffern und Buchstaben aus
// Ausschlus der Steuerzeichen:
// [^/t] schließt Tab aus
// [^/r] schließt Carriage Return aus
// [^/n] schließt Line Feed aus
// [^A-Za-z0-9\\x00-\\x1F\\x7F] [^A-Za-z0-9\t\r\n]
// \\x20-\\x2F -> SP, !, ", #, $, %, &, ', (, ), *, +, ,, -, ., /
// \\x3A-\\x40 -> :, ;, <, =, >, ?, @
// \\x5B-\\x60 -> [, \, ], ^, -, `
// \\x7B-\\x7E -> {, |, }, ~
// \\x80 -> €
String reg = "[\\x20-\\x2F\\x3A-\\x40\\x5B-\\x60\\x7B-\\x7E\\x80]";
return passwort.matches(".*" + reg + ".*" + reg + ".*" + reg + ".*");
// String negReg = "[^A-Za-z0-9\\x00-\\x1F\\x7F]";
// return passwort.matches(".*"+negReg+".*"+negReg+".*"+negReg+".*");
// return
// passwort.matches(".*[^A-Za-z0-9\\x00-\\x1F\\x7F].*[^A-Za-z0-9\\x00-\\x1F\\x7F].*[^A-Za-z0-9\\x00-\\x1F\\x7F].*");
}
/**
* Hauptmethode, die den Benutzer zur Eingabe eines Passworts auffordert und dessen Sicherheit anhand der definierten Bedingungen überprüft.
* Hauptmethode, die den Benutzer zur Eingabe eines Passworts auffordert und
* dessen Sicherheit anhand der definierten Bedingungen überprüft.
*
* @param args Kommandozeilenargumente (werden in diesem Programm nicht verwendet).
* @param args Kommandozeilenargumente (werden in diesem Programm nicht
* verwendet).
*/
public static void main(String[] args) {
String passwort = null;
boolean check = false;
Scanner in = new Scanner(System.in);
System.out.println("Geben Sie ein Passwort zur überprüfung ein:");

View File

@ -1,16 +1,16 @@
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/27.0.9 Chrome/134.0.6998.205 Electron/35.4.0 Safari/537.36" version="27.0.9">
<diagram name="Seite-1" id="dzo3m-syK6zVxx0qf2iK">
<mxGraphModel dx="638" dy="436" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<mxGraphModel dx="1213" dy="828" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="kEltRFM-RFmn2LgqPGvT-51" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=none;movable=0;resizable=0;rotatable=0;deletable=0;editable=0;locked=1;connectable=0;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-51" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=none;movable=0;resizable=0;rotatable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="1" vertex="1">
<mxGeometry x="5" y="50" width="811" height="990" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-1" value="Eingabe eines Passworts&lt;br&gt;String passwort" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="320" y="130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-2" target="dn1SLEveHeubebGqacrZ-1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-2" target="dn1SLEveHeubebGqacrZ-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-2" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
@ -25,15 +25,15 @@
<mxCell id="dn1SLEveHeubebGqacrZ-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-4" target="kEltRFM-RFmn2LgqPGvT-55" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-39" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="dn1SLEveHeubebGqacrZ-13">
<mxCell id="kEltRFM-RFmn2LgqPGvT-39" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="dn1SLEveHeubebGqacrZ-13" vertex="1" connectable="0">
<mxGeometry x="-0.1152" y="-2" relative="1" as="geometry">
<mxPoint x="15" y="-13" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-4" target="dn1SLEveHeubebGqacrZ-6">
<mxCell id="kEltRFM-RFmn2LgqPGvT-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-4" target="dn1SLEveHeubebGqacrZ-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-40" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-40" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-1" vertex="1" connectable="0">
<mxGeometry x="-0.3756" relative="1" as="geometry">
<mxPoint x="34" y="-2" as="offset" />
</mxGeometry>
@ -41,60 +41,60 @@
<mxCell id="dn1SLEveHeubebGqacrZ-4" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="365" y="360" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-6" target="kEltRFM-RFmn2LgqPGvT-3">
<mxCell id="kEltRFM-RFmn2LgqPGvT-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="dn1SLEveHeubebGqacrZ-6" target="kEltRFM-RFmn2LgqPGvT-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-6" value="Überprüfung auf mindestens 3 Kleinbuchstaben" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="320" y="430" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-7" target="kEltRFM-RFmn2LgqPGvT-4">
<mxCell id="kEltRFM-RFmn2LgqPGvT-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-7" target="kEltRFM-RFmn2LgqPGvT-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-7" value="Überprüfung auf mindestens 3 Grossbuchstaben" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="320" y="570" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-8" target="dn1SLEveHeubebGqacrZ-14">
<mxCell id="kEltRFM-RFmn2LgqPGvT-16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-8" target="dn1SLEveHeubebGqacrZ-14" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-8" value="Überprüfung auf mindestens 3 Sonderzeichen" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="320" y="860" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-9" target="kEltRFM-RFmn2LgqPGvT-10">
<mxCell id="kEltRFM-RFmn2LgqPGvT-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-9" target="kEltRFM-RFmn2LgqPGvT-10" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-9" value="Überprüfung auf mindestens 3 Ziffern" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="320" y="720" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-10" target="dn1SLEveHeubebGqacrZ-3">
<mxCell id="kEltRFM-RFmn2LgqPGvT-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-10" target="dn1SLEveHeubebGqacrZ-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-10" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="365" y="215" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-11" target="dn1SLEveHeubebGqacrZ-10">
<mxCell id="kEltRFM-RFmn2LgqPGvT-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-11" target="dn1SLEveHeubebGqacrZ-10" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-11" value="Eingabe eines verbesserten Passworts" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="10" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-12" target="dn1SLEveHeubebGqacrZ-11">
<mxCell id="kEltRFM-RFmn2LgqPGvT-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-12" target="dn1SLEveHeubebGqacrZ-11" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dn1SLEveHeubebGqacrZ-12" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="55" y="360" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-14" target="kEltRFM-RFmn2LgqPGvT-18">
<mxCell id="kEltRFM-RFmn2LgqPGvT-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-14" target="kEltRFM-RFmn2LgqPGvT-18" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-48" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-22">
<mxCell id="kEltRFM-RFmn2LgqPGvT-48" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-22" vertex="1" connectable="0">
<mxGeometry x="-0.2675" y="-1" relative="1" as="geometry">
<mxPoint x="6" y="-16" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-14" target="kEltRFM-RFmn2LgqPGvT-59">
<mxCell id="kEltRFM-RFmn2LgqPGvT-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-14" target="kEltRFM-RFmn2LgqPGvT-59" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-44" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-30">
<mxCell id="kEltRFM-RFmn2LgqPGvT-44" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-30" vertex="1" connectable="0">
<mxGeometry x="0.2723" y="1" relative="1" as="geometry">
<mxPoint x="28" y="-16" as="offset" />
</mxGeometry>
@ -102,135 +102,135 @@
<mxCell id="dn1SLEveHeubebGqacrZ-14" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="365" y="940" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-3" target="dn1SLEveHeubebGqacrZ-7">
<mxCell id="kEltRFM-RFmn2LgqPGvT-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-3" target="dn1SLEveHeubebGqacrZ-7" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-45" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-17">
<mxCell id="kEltRFM-RFmn2LgqPGvT-45" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-17" vertex="1" connectable="0">
<mxGeometry x="0.0291" y="-4" relative="1" as="geometry">
<mxPoint x="36" y="-9" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-3" target="kEltRFM-RFmn2LgqPGvT-56">
<mxCell id="kEltRFM-RFmn2LgqPGvT-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-3" target="kEltRFM-RFmn2LgqPGvT-56" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-41" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-27">
<mxCell id="kEltRFM-RFmn2LgqPGvT-41" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-27" vertex="1" connectable="0">
<mxGeometry x="0.3476" y="-1" relative="1" as="geometry">
<mxPoint x="40" y="-14" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-3" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-3" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="365" y="510" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-4" target="dn1SLEveHeubebGqacrZ-9">
<mxCell id="kEltRFM-RFmn2LgqPGvT-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-4" target="dn1SLEveHeubebGqacrZ-9" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-46" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-13">
<mxCell id="kEltRFM-RFmn2LgqPGvT-46" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-13" vertex="1" connectable="0">
<mxGeometry x="-0.3594" y="-3" relative="1" as="geometry">
<mxPoint x="37" y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-4" target="kEltRFM-RFmn2LgqPGvT-57">
<mxCell id="kEltRFM-RFmn2LgqPGvT-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-4" target="kEltRFM-RFmn2LgqPGvT-57" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-42" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-28">
<mxCell id="kEltRFM-RFmn2LgqPGvT-42" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-28" vertex="1" connectable="0">
<mxGeometry x="0.3108" y="-1" relative="1" as="geometry">
<mxPoint x="37" y="-14" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-4" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-4" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="365" y="655" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-10" target="dn1SLEveHeubebGqacrZ-8">
<mxCell id="kEltRFM-RFmn2LgqPGvT-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-10" target="dn1SLEveHeubebGqacrZ-8" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-47" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-15">
<mxCell id="kEltRFM-RFmn2LgqPGvT-47" value="Überprüfung&lt;div&gt;&amp;nbsp;bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-15" vertex="1" connectable="0">
<mxGeometry x="-0.2208" y="-3" relative="1" as="geometry">
<mxPoint x="42" y="-9" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-10" target="kEltRFM-RFmn2LgqPGvT-58">
<mxCell id="kEltRFM-RFmn2LgqPGvT-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-10" target="kEltRFM-RFmn2LgqPGvT-58" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-43" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="kEltRFM-RFmn2LgqPGvT-29">
<mxCell id="kEltRFM-RFmn2LgqPGvT-43" value="Überprüfung&lt;div&gt;&amp;nbsp;nicht bestanden&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="kEltRFM-RFmn2LgqPGvT-29" vertex="1" connectable="0">
<mxGeometry x="0.3548" y="-2" relative="1" as="geometry">
<mxPoint x="37" y="-13" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-10" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-10" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="365" y="800" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-67" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-18" target="kEltRFM-RFmn2LgqPGvT-20">
<mxCell id="kEltRFM-RFmn2LgqPGvT-67" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="kEltRFM-RFmn2LgqPGvT-18" target="kEltRFM-RFmn2LgqPGvT-20" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-18" value="Ausgabe:&lt;div&gt;Passwort ist sicher&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-18" value="Ausgabe:&lt;div&gt;Passwort ist sicher&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="510" y="925" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-23" target="dn1SLEveHeubebGqacrZ-12">
<mxCell id="kEltRFM-RFmn2LgqPGvT-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-23" target="dn1SLEveHeubebGqacrZ-12" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-23" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-23" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="55" y="510" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-24" target="kEltRFM-RFmn2LgqPGvT-23">
<mxCell id="kEltRFM-RFmn2LgqPGvT-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-24" target="kEltRFM-RFmn2LgqPGvT-23" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-24" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-24" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="55" y="655" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-25" target="kEltRFM-RFmn2LgqPGvT-24">
<mxCell id="kEltRFM-RFmn2LgqPGvT-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-25" target="kEltRFM-RFmn2LgqPGvT-24" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-25" value="" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-25" value="" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="55" y="800" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="dn1SLEveHeubebGqacrZ-1" target="dn1SLEveHeubebGqacrZ-10">
<mxCell id="kEltRFM-RFmn2LgqPGvT-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="dn1SLEveHeubebGqacrZ-1" target="dn1SLEveHeubebGqacrZ-10" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-52" value="Andreas Wurst 1720808&lt;br&gt;&lt;div&gt;Denis Shala 3022668&lt;/div&gt;" style="text;html=1;align=right;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-52" value="Andreas Wurst 1720808&lt;br&gt;&lt;div&gt;Denis Shala 3022668&lt;/div&gt;" style="text;html=1;align=right;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="650" y="10" width="150" height="40" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-54" value="&lt;h1 style=&quot;margin-top: 0px;&quot;&gt;Passwort_Check&lt;/h1&gt;&lt;p&gt;Das Programm überprüfft ein eingegebenes Passwort auf folgenden Bedingungen, die die komplexität herhöhen&lt;/p&gt;" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
<mxGeometry x="520" y="80" width="220" height="120" as="geometry" />
<mxCell id="kEltRFM-RFmn2LgqPGvT-54" value="&lt;h1 style=&quot;margin-top: 0px;&quot;&gt;Passwort_Check&lt;/h1&gt;&lt;p&gt;Das Programm überprüfft ein eingegebenes Passwort auf folgenden Bedingungen, die die komplexität herhöhen soll. Diese Bedingungen lauten:&lt;br&gt;1) mindestens 20 Zeichen&lt;br&gt;2) mindestens 3 Kleinbuchstaben&lt;br&gt;3) mindestens 3 Großbuchstaben&lt;br&gt;4) mindestens 3 Ziffern&lt;br&gt;5) mindestens 3 druckbare Sonderzeichen&lt;/p&gt;&lt;p&gt;Bei nicht einhalten mindenstens einer Bedingungen wird sofort ein neues passwort erbeten. Bei einem sicheren Passwort wird das Programm beendet.&lt;/p&gt;" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1">
<mxGeometry x="520" y="80" width="270" height="250" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-62" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-55" target="dn1SLEveHeubebGqacrZ-12">
<mxCell id="kEltRFM-RFmn2LgqPGvT-62" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-55" target="dn1SLEveHeubebGqacrZ-12" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-55" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Zeichen&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-55" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Zeichen&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="110" y="345" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-61" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-56" target="kEltRFM-RFmn2LgqPGvT-23">
<mxCell id="kEltRFM-RFmn2LgqPGvT-61" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-56" target="kEltRFM-RFmn2LgqPGvT-23" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-56" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Kleinbuchstaben&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-56" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Kleinbuchstaben&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="120" y="495" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-57" target="kEltRFM-RFmn2LgqPGvT-24">
<mxCell id="kEltRFM-RFmn2LgqPGvT-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-57" target="kEltRFM-RFmn2LgqPGvT-24" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-57" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Großbuchstaben&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-57" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Großbuchstaben&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="120" y="640" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-64" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-58" target="kEltRFM-RFmn2LgqPGvT-25">
<mxCell id="kEltRFM-RFmn2LgqPGvT-64" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-58" target="kEltRFM-RFmn2LgqPGvT-25" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-58" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Ziffern&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-58" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Ziffern&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="110" y="785" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="kEltRFM-RFmn2LgqPGvT-59" target="kEltRFM-RFmn2LgqPGvT-25">
<mxCell id="kEltRFM-RFmn2LgqPGvT-65" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="kEltRFM-RFmn2LgqPGvT-59" target="kEltRFM-RFmn2LgqPGvT-25" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="85" y="955.0000000000002" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-59" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Sonderzeichen&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-59" value="Ausgabe:&lt;div&gt;&quot;Zu wenig Sonderzeichen&quot;&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="130" y="925" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-66" value="" style="group" vertex="1" connectable="0" parent="1">
<mxCell id="kEltRFM-RFmn2LgqPGvT-66" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="670" y="935" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-20" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="kEltRFM-RFmn2LgqPGvT-66">
<mxCell id="kEltRFM-RFmn2LgqPGvT-20" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="kEltRFM-RFmn2LgqPGvT-66" vertex="1">
<mxGeometry width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="kEltRFM-RFmn2LgqPGvT-19" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;container=1;" vertex="1" parent="kEltRFM-RFmn2LgqPGvT-66">
<mxCell id="kEltRFM-RFmn2LgqPGvT-19" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;container=1;" parent="kEltRFM-RFmn2LgqPGvT-66" vertex="1">
<mxGeometry x="5" y="5" width="30" height="30" as="geometry">
<mxRectangle x="735" y="960" width="50" height="40" as="alternateBounds" />
</mxGeometry>

BIN
uebung4.pdf 100644

Binary file not shown.