aboutsummaryrefslogtreecommitdiffstats
path: root/site/public/misc-docs/index.html
diff options
context:
space:
mode:
authorYigit Sever2021-04-19 18:21:06 +0300
committerYigit Sever2021-04-19 18:21:06 +0300
commitdf6fa5f322fc972b3894e720f2c406eb2d8f5f5a (patch)
tree4864006b54c512dea971d0c50efcacca65b12c6e /site/public/misc-docs/index.html
parentd1b2e4bbd8f1ec5fe40c3d8c85ea4d13c8bfd755 (diff)
downloadgradecoin-df6fa5f322fc972b3894e720f2c406eb2d8f5f5a.tar.gz
gradecoin-df6fa5f322fc972b3894e720f2c406eb2d8f5f5a.tar.bz2
gradecoin-df6fa5f322fc972b3894e720f2c406eb2d8f5f5a.zip
Moving site to separate repo
Diffstat (limited to 'site/public/misc-docs/index.html')
-rw-r--r--site/public/misc-docs/index.html155
1 files changed, 0 insertions, 155 deletions
diff --git a/site/public/misc-docs/index.html b/site/public/misc-docs/index.html
deleted file mode 100644
index dfd38e2..0000000
--- a/site/public/misc-docs/index.html
+++ /dev/null
@@ -1,155 +0,0 @@
1<!DOCTYPE html>
2<html lang="en">
3
4<head>
5 <meta charset="UTF-8">
6 <title>Misc | Gradecoin </title>
7 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8 <style>
9 :root {
10 /* Primary theme color */
11 --primary-color: #F8D12F;
12 /* Primary theme text color */
13 --primary-text-color: #1E2329;
14 /* Primary theme link color */
15 --primary-link-color: #2F57F7;
16 /* Secondary color: the background body color */
17 --secondary-color: #FAFAFA;
18 --secondary-text-color: #303030;
19 /* Highlight text color of table of content */
20 --toc-highlight-text-color: #d46e13;
21 }
22</style>
23
24 <link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet">
25 <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet">
26 <link rel="stylesheet" href="/normalize.css">
27 <link rel="stylesheet" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;juice.css">
28
29<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
30<link rel="stylesheet" href="/site.css" />
31
32</head>
33
34<body>
35
36<header class="box-shadow">
37
38
39<a href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;">
40 <div class="logo">
41 <img src="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;gradecoin.png" alt="logo">
42 Gradecoin
43 </div>
44</a>
45
46<nav>
47
48 <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;register-docs&#x2F;">Register</a>
49
50 <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;jwt&#x2F;">JWT</a>
51
52 <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;transaction-docs&#x2F;">Transactions</a>
53
54 <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;block-docs&#x2F;">Blocks</a>
55
56 <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;misc-docs&#x2F;">Misc</a>
57
58
59
60 <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;github.com&#x2F;zhuowei&#x2F;nft_ptr#why">why?</a>
61
62
63</nav>
64
65</header>
66
67
68 <main>
69
70
71
72
73
74 <div class="toc">
75 <div class="toc-sticky">
76
77 <div class="toc-item">
78 <a class="subtext" href="https://gradecoin.xyz/misc-docs/#fingerprint">Fingerprint</a>
79 </div>
80
81
82 <div class="toc-item-child">
83 <a class="subtext" href="https://gradecoin.xyz/misc-docs/#definition"><small>- Definition</small></a>
84 </div>
85
86 <div class="toc-item-child">
87 <a class="subtext" href="https://gradecoin.xyz/misc-docs/#fingerprint-generation"><small>- Fingerprint Generation</small></a>
88 </div>
89
90
91
92 </div>
93 </div>
94
95
96
97 <div class="content text">
98
99<div class="heading-text">Documentation about everything else</div>
100<p>We thought it might be good to explain some concepts you might have questions about.</p>
101<h1 id="fingerprint">Fingerprint</h1>
102<h2 id="definition">Definition</h2>
103<p>A fingerprint is a 256 bit 64 character hexadecimal user identifier for users. Fingerprints are used in defining users in <a href="https://gradecoin.xyz/transaction-docs/">transactions</a> and <a href="https://gradecoin.xyz/block-docs/">blocks</a>.</p>
104<h2 id="fingerprint-generation">Fingerprint Generation</h2>
105<p>A user's finger print is generated via applying SHA256 sum of the user's public RSA key.</p>
106
107
108 </div>
109
110
111
112 </main>
113
114
115<footer>
116Built For ⁂ CENG489 ⁂ Introduction to Computer Security
117</footer>
118
119</body>
120<script>
121 function highlightNav(heading) {
122 let pathname = location.pathname;
123 document.querySelectorAll(".toc a").forEach((item) => {
124 item.classList.remove("active");
125 });
126 document.querySelector(".toc a[href$='" + pathname + "#" + heading + "']").classList.add("active");
127 }
128
129 let currentHeading = "";
130 window.onscroll = function () {
131 let h = document.querySelectorAll("h1,h2,h3,h4,h5,h6");
132 let elementArr = [];
133
134 h.forEach(item => {
135 if (item.id !== "") {
136 elementArr[item.id] = item.getBoundingClientRect().top;
137 }
138 });
139 elementArr.sort();
140 for (let key in elementArr) {
141 if (!elementArr.hasOwnProperty(key)) {
142 continue;
143 }
144 if (elementArr[key] > 0 && elementArr[key] < 300) {
145 if (currentHeading !== key) {
146 highlightNav(key);
147 currentHeading = key;
148 }
149 break;
150 }
151 }
152 }
153</script>
154
155</html>