/
advanced.html
157 lines (153 loc) · 6.87 KB
/
advanced.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html>
<head>
<title>ENL LK Cipher Tool</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet" media="screen" />
<link href="css/bootstrap-theme.css" rel="stylesheet" media="screen" />
<link href="css/bootstrap-responsive.css" rel="stylesheet" media="screen">
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/keywords.js"></script>
<script src="js/analytics.js"></script>
<script src="js/cipher.js"></script>
<script src="js/formhelper.js"></script>
</head>
<body>
<!-- GA-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-69349758-1', 'auto');
ga('send', 'pageview');
</script>
<!-- end GA-->
<script type="text/javascript">
$(document).ready(function () {
$("#inputText").keyup(function(){
copyVals();
//formValidate();
text = $("#outputText").val();
formValidate($("#outputText"),text);
$("#charactercount").html(text.length);
$("#factors").html(factors(text).join());
$("#numbers").html(countNumbers(text,1));
$("#analytics").html("");
validate_result = validate(text,keywords);
for(i=0;i<validate_result.length;i++){
analytics_text = $("#analytics").html();
$("#analytics").html(analytics_text+validate_result[i]+"<br/>");
}
doAll();
});
});
</script>
<div class="navbar navbar-inverse" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://enlightenedlk.com">ENL LK Cipher Tool</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Basic</a></li>
<li class="active"><a href="advanced.html">Advanced</a></li>
<li><a href="akrt.html">AKRT</a></li>
<li><a href="keywordsearch.html">Keyword Search</a></li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container-fluid -->
</div>
<div class="col-md-4">
<div id="scratchpad">
<label for="scratchpad">Scratch Pad</label>
<textarea class="form-control" id="scratchText" rows=6 style="font-family:courier"></textarea>
</div>
<div id="textmatrices">
</div>
<h4>Resources</h4>
<ul>
<li><a href="http://metapicz.com/">Online meta data and exif viewer</a></li>
<li><a href="http://online-barcode-reader.inliteresearch.com/default.aspx">Online barcode reader</a></li>
<li><a href="https://play.google.com/store/apps/details?id=org.jfedor.morsecode">Morse code reader (Android)</a></li>
</ul>
<h4>Formats</h4>
<ul>
<li>9aaa9keyworda999a</li>
<li>9aaa9keyworda9a9a</li>
<li>9aa9keyworda999a</li>
<li>aaaaaaaa9keyword9</li>
<li>keyword9aa99aa9</li>
<li>aaa99keyword999aa</li>
</ul>
<h4>History</h4>
</div>
<div class="col-md-4">
<div id="form">
<form>
<div class="form-group">
<label for="originalText">Input</label>
<input type="text" class="form-control" id="inputText" placeholder="Cipher Text Here">
<button type="button" class="btn btn-success" onclick="copyVals();">Copy</button></br>
<label for="cipherText">Output</label>
<textarea class="form-control" id="outputText"></textarea>
</div>
<div class="form-group">
<button type="button" class="btn btn-info" onclick="formReverse()">Reverse</button>
<button type="button" class="btn btn-info" onclick="formAtbash()">Atbash</button>
<button type="button" class="btn btn-info" onclick="formAtbashAll()">Atbash All</button>
<button type="button" class="btn btn-info" onclick="formOddEven()">Odd-Even</button>
<button type="button" class="btn btn-info" onclick="formCaseSwitch()">A->a/a->A</button>
<button type="button" class="btn btn-info" onclick="formLetters_n_Numbers()">Letters-Numbers</button>
<button type="button" class="btn btn-info" onclick="doAll()">Do All</button>
</div>
<div class="form-group">
<button type="button" class="btn btn-info" onclick="formLettersNum(0)">0->A</button>
<button type="button" class="btn btn-info" onclick="formLettersNum(1)">A->0</button>
<button type="button" class="btn btn-info" onclick="formLettersNum(2)">ASC->A</button>
<button type="button" class="btn btn-info" onclick="formLettersNum(3)">A->ASC</button>
<button type="button" class="btn btn-info" onclick="formLettersNum(4)">Hex->A</button>
<button type="button" class="btn btn-info" onclick="formLettersNum(5)">A->Hex</button>
<button type="button" class="btn btn-info" onclick="formLettersNum(6)">B64->A</button>
<button type="button" class="btn btn-info" onclick="formLettersNum(7)">A->B64</button>
</div>
<div class="form-group">
<button type="button" class="btn btn-info" onclick="formRotN(0)">Rot</button>
<button type="button" class="btn btn-info" onclick="formRotN(1)">RotwNum</button>
<button type="button" class="btn btn-info" onclick="formColumnar()">Columnar</button>
<button type="button" class="btn btn-info" onclick="formColumnar(1)">Snake</button>
<button type="button" class="btn btn-info" onclick="formSpiral()">Spiral</button>
</div>
<div class="form-group">
<button type="button" class="btn btn-info" onclick="formMorse()">Morse</button>
<button type="button" class="btn btn-info" onclick="formSym2Num()">!@#->123</button>
</div>
<div class="form-group">
<button type="button" class="btn btn-info" onclick="formGroup(2)">Group 2</button>
<button type="button" class="btn btn-info" onclick="formGroup(3)">Group 3</button>
</div>
</form>
</div>
<div class="clearfix spacer"></div>
<div id="results" class="clearfix"></div>
<h4>Statistics</h4>
<pre>
<div style="float:left">Character count:</div><div style="float:left;clear:right" id="charactercount"></div>
<div style="float:left">Factors:</div><div style="float:left;clear:right" id="factors"></div>
<div style="float:left">Numbers:</div><div style="float:left;clear:right" id="numbers"></div>
<div style="float:left">Analyitics:</div><div style="float:left;clear:right" id="analytics"></div>
</pre>
</div>
<div class="col-md-4" id="multioutput">
<h4>Multi output</h4>
</div>
</body>
</html>