-
Notifications
You must be signed in to change notification settings - Fork 0
/
scramble.html
89 lines (79 loc) · 3.27 KB
/
scramble.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
<!DOCTYPE html>
<html>
<head>
<!--**************************************************************************
Copyright (C) Chicken Katsu 2013-2024
This code is protected by copyright under the terms of the
Creative Commons Attribution 4.0 International License
https://creativecommons.org/licenses/by/4.0/legalcode
contact [email protected]
// USE AT YOUR OWN RISK - NO GUARANTEES OF ANY FORM ARE EITHER EXPRESSED OR IMPLIED
Cryptography code demonstrated in this application is covered by the UK Govt
Open General Export License for Cryptographic development
(see https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/1101784/open-general-export-licence-cryptographic-development.pdf)
and is not intended for dual use as defined by this license.
You the consumer of this application are entirely responsible for importing
this code into your own country. if you disagree please close this page.
**************************************************************************-->
<title>Cellular Automata Encryption</title>
<!-- 3rd party libraries (bean) -->
<script src="../jsinc/extra/bean/bean.js"></script>
<!-- 3rd party libraries (jquery) -->
<script src="../jsinc/extra/jquery/jquery-3.2.1.min.js"></script>
<script src="../jsinc/extra/jquery-ui/jquery-ui.min.js"></script>
<script src="../jsinc/extra/jquery-cookie/jquery.cookie.js"></script>
<script src="../jsinc/extra/jquery-canvas/jcanvas.min.js"></script>
<script src="https://www.gstatic.com/charts/loader.js"></script>
<!-- stylesheets -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="css/CA.css">
<link rel="stylesheet" href="css/jquery/jquery-ui.css">
<!-- my useful functions -->
<script src="../jsinc/ck-inc/common.js"></script>
<script src="../jsinc/ck-inc/debug.js"></script>
<script src="../jsinc/ck-inc/converter.js"></script>
<script src="../jsinc/ck-inc/sparse.js"></script>
<!-- cellular automata classes -->
<script src="js/CA/catypes.js"></script>
<script src="js/CA/caevent.js"></script>
<script src="js/CA/cacell.js"></script>
<script src="js/CA/carule.js"></script>
<script src="js/CA/caindex.js"></script>
<script src="js/CA/cagrid.js"></script>
<script src="js/CA/cagridinit.js"></script>
<script src="js/CA/cagridimporter.js"></script>
<script src="js/CA/caimporter.js"></script>
<script src="js/CA/cascrambler.js"></script>
<!-- widgets for page -->
<script src="js/widgets/components/cacanvas.js"></script>
<script src="js/widgets/components/cajson.js"></script>
</head>
<body>
<h2>Cellular Automata scrambler</h2>
<div id="crypt"></div>
<script language="javascript">
function onJqueryLoad(){
if ( !$.widget) {
$.error("JQuery UI is missing")
return
}
$("#infopanel").show()
$("#scrambler").cascrambler({name:"cascramble"});
}
$(onJqueryLoad);
</script>
<p>
<div class="ui-widget" id="infopanel" style="display:none">
<div class="ui-widget-header">Notice</div>
<div class="ui-widget-content">
<p>
This page is to test the scrambler function that uses a CA to read its instructions from.
please copy a CA into the clipboard before proceeding
</p>
</div>
</div>
<DIV ID="scrambler">
scrambler will go here
</DIV>
</body>
</html>