Skip to content

Instantly share code, notes, and snippets.

@DigiMancer3D
Created July 9, 2020 03:04
Show Gist options
  • Save DigiMancer3D/326eab38beb0686813bbf9840f5569e0 to your computer and use it in GitHub Desktop.
Save DigiMancer3D/326eab38beb0686813bbf9840f5569e0 to your computer and use it in GitHub Desktop.
A game in a hash generator. Shows simple input swaps.
<script src="https://cdn.linearicons.com/free/1.0.0/svgembedder.min.js"></script>
<style>
@supports (-webkit-appearance:none) {}
@supports (-moz-appearance:meterbar) and (all:initial) {}
@supports (-webkit-appearance:none) {}
#contentgame {
display:none;
}
#room {
display:none;
background-color:white;
color:silver;
fill:silver;
width:30%;
height:50px;
border:black solid 0.03vw;
opacity:0.75;
z-index:-1;
}
#voidspace, #oidspace, #idspace, #dspace {
display:none;
}
#shw {
color:black;
fill:black;
cursor:default;
}
#boxstar {
visibility:hidden;
}
#icon00, #iconhash00 {
display:none;
fill:limegreen;
}
#icon1, #iconhash1 {
display:none;
fill:limegreen;
margin-right:-125%;
margin-left:125%;
}
#icon2 {
display:block;
margin-top:-100%;
}
#icon {
display:block;
}
.box {
background-color:grey;
color:lightgreen;
width:20%;
border: darkgrey solid 0.03vw;
padding:1.2vw 2.1vw 1.2vw 2.1vw;
margin: 0.5vw 1vw 0.5vw 1vw;
}
#nextnext {
display:none;
}
#titl {
color:gold;
}
#pe {
display:block;
}
#finTut, .finTut {
display: none;
}
body, #body {
background-color:black;
color:silver;
}
.divTableRow {
display: table-row;
}
#btnsdw {
fill:black;
}
.divTableCell {
display: table-cell;
}
Html, html, HTML {
-moz-appearance:meterbar;
-moz-appearance;
-webkit-appearance;
-webkit-appearance:none;
scroll-behavior: smooth;
scroll-y:none;
scroll-x:auto;
scroll-z:auto;
-webkit-overflow-scrolling:touch;
-webkit-scroll-behavior:smooth;
x-scroll:none;
overflow-x:auto;
}
#base-layer {
background-color:black;
color: gold;
}
#subtext {
color:gold;
}
#sub-subtext, #sub-subtext2 {
color:orange;
}
#inp {
text-align:center;
background-color:grey;
color:black;
border:grey;
}
#inpbtn {
background-color:silver;
border:grey;
color:black;
}
#prev {
color:gold;
}
#nexter, #next {
color:silver;
}
#nextest {
color:blue;
opacity:0.6;
}
#ussf {
text-decoration:none;
color:limegreen;
a-color:green;
}
#res {
color:gold;
opacity:0.79;
}
#nullobj {
color:blue;
}
#w3res {
color:blue;
}
footer, #footer {
background-color:black;
padding-bottom:1.25%;
}
#footlnk {
color:green;
}
hr {
color:grey;
opacity:0.2;
}
#themeop {
color:grey;
border:darkgrey solid 0.03px;
padding:0.25vw 1.5vw 0.25vw 1.5vw;
visibility:hidden;
}
#newd {
display:none;
color:gold;
}
#themeop2 {
color:black;
border:black solid 0.03px;
padding:0.25vw 1.5vw 0.25vw 1.5vw;
opacity:0.6;
}
#data1 {
color:lightgreen;
}
.lnr {
display: inline-block;
fill: red;
width: 1em;
height: 1em;
vertical-align: -0.05em;
visiblity: visible;
}
.lnr-power-switch {
font-size: 40px;
/* We can use "font-size" for changing the size
of the SVG because its width and height were
set 1em.
To get crisp results, use sizes that are
a multiple of 20; because Linearicons was
designed on a 20 by 20 grid. */
}
.lnr-sun, .lnr-volume {
font-size: 20px;
}
.lnr2 {
display: inline-block;
fill: #f9d71c;
width: 1em;
height: 1em;
vertical-align: -0.05em;
visiblity: visible;
}
.lnr3 {
display: inline-block;
width: 1em;
height: 1em;
vertical-align: -0.05em;
visiblity: visible;
}
.lnrgold {
fill: gold;
}
.lnrsilver {
fill: silver;
}
.lnrbin0 {
fill: black;
}
.lnrbin1 {
fill: white;
}
#inpbtn {
display:none;
}
#phrase {
color:lightgreen;
display:none;
}
#btnlast {
display:none;
}
</style>
<body id="body">
<div align="center" id="base-layer">
<h1 style="margin-bottom:-0.5%" id="titl"><b>Hashings by 3D</b></h1><h1>
<sup id="subtext">--<i><sup><sub><sub onclick="creditAlert()">[ <span id="sub-subtext">Is this even possible</span> &amp; <span id="sub-subtext2">would someone actually play this?</span> ]</sub></sub></sup></i>--<hr></sup>
</h1>
<span class="divTableRow"><input id="inp" value="Input up to 38 characters here!" onfocus="this.value=''"><input id="inpbtn" type="button" onclick="document.getElementById('data1').innerHTML=ascii_to_base38(inp.value);" value="Check Format Before Sending"><input id="inputbtn" type="button" onclick="document.getElementById('phrase').innerHTML=""; document.getElementById('data1').innerHTML=ascii_to_base38(inp.value);" value="submit" disabled=""></span><br>
<span>
<span id="prev" onclick="this.style='display:none'; document.getElementById('next').style='display:inline-block'">[<b>Clicking me won't do anything</b>]</span>
<span id="next" onclick="this.style='display:none'; document.getElementById('nexter').style='display:inline-block'" style="display:none"><i>Welcome to the Help text!</i><br><b>This is a sequential puzzle-type game built inside a custom "SHA Generator."</b><br><i>Because the Secure Hash Algorithm doesn't repeat hashes for seperate inputs, we can utilize this for a fun experince</i>.</span>
<span id="nexter" onclick="this.style='display:none'; document.getElementById('nextest').style='display:inline-block'" style="display:none"><br>This is just a test theory of seperated applications of SHAs and double uses of current cyptography.</span>
<span id="nextest" style="display:none;"><span id="pe"><b>Please Enjoy<br></b></span><b>
<span id="onbtn" style="margin-right:-15.5px;margin-left:15.5px;"> <svg id="btnon" z-index="2" style="z-index:2;" class="lnr lnr-power-switch" onclick="this.style='display:none'; document.getElementById('NeverBack').style='display:inline-block'; document.getElementById('finTut').style='display:block';document.getElementById('pe').style='display:none'"><use xlink:href="#lnr-power-switch"></use></svg>
<svg id="btnlast" z-index="2" style="z-index:2;" class="lnr lnr-power-switch" onclick="document.getElementById('finTut').style='display:none';"><use xlink:href="#lnr-power-switch"></use></svg>
<svg id="btnsdw" z-index="-1" style="z-index:-1;" class="lnr lnr-power-switch"><use xlink:href="#lnr-power-switch"></use></svg>
<br></span></b></span><b>
<span id="NeverBack" onclick="bigpull()" style="display:none">This is just a <i>test <b>theory </b></i>of SHAs and <i><b>double uses of current cyptic-technology</b></i>.</span>
<br><span id="data1"></span>
<br><br>
<span id="demo" style="visibility:hidden"></span>
<span id="finTut"><hr>
<p id="tutfin" onclick="Tutend(); document.getElementById('newd').style='display:block';">Congratulations, you finished the tutorial!</p>
</span>
<div class="divTableRow">
<div id="icon" class="divTableCell">
<span><svg class="lnr lnr-power-switch" id="icon00"><use xlink:href="#lnr-smartphone"></use></svg><span id="iconhash00"><b style="margin-left:-19.5%;margin-bottom:-26%;">6jd[smq]</b></span></span></div> <div id="icon2" class="divTableCell"><span><svg class="lnr lnr-power-switch" id="icon1"><use xlink:href="#lnr-hourglass"></use></svg><span id="iconhash1"><b style="margin-left:-17.5%;margin-bottom:-26%;">128[2o7]</b></span></span></div>
</div>
<span id="newd" class="divTableRow"><hr>
<svg class="lnr lnr-power-switch" id="hudElem0" onclick="document.getElementById('contentgame').style='display:block';this.style='display:none;';document.getElementById('phrase').innerHTML=''; " style="fill:gold;margin:0vw 3vw 0vw 3vw"><use xlink:href="#lnr-checkmark-circle"></use></svg>
<svg class="lnr lnr-power-switch" id="hudElem1" onclick="document.getElementById('phrase').innerHTML=''; document.getElementById('phrase').style='display:block'; document.getElementById('demo').innerHTML = getRndInteger(0,10)" style="fill:gold;margin:0vw 3vw 0vw 3vw"><use xlink:href="#lnr-arrow-left-circle"></use></svg>
<svg class="lnr lnr-power-switch" id="hudElem2" onclick="document.getElementById('phrase').innerHTML=''; document.getElementById('phrase').style='display:block'; document.getElementById('demo').innerHTML = getRndInteger(0,10)" style="fill:gold;margin:0vw 3vw 0vw 3vw"><use xlink:href="#lnr-arrow-up-circle"></use></svg>
<svg class="lnr lnr-power-switch" id="hudElem3" onclick="document.getElementById('phrase').innerHTML=''; document.getElementById('phrase').style='display:block'; document.getElementById('demo').innerHTML = getRndInteger(0,10)" style="fill:gold;margin:0vw 3vw 0vw 3vw"><use xlink:href="#lnr-arrow-down-circle"></use></svg>
<svg class="lnr lnr-power-switch" id="hudElem4" onclick="document.getElementById('phrase').innerHTML=''; document.getElementById('phrase').style='display:block'; document.getElementById('demo').innerHTML = getRndInteger(0,10)" style="fill:gold;margin:0vw 3vw 0vw 3vw"><use xlink:href="#lnr-arrow-right-circle"></use></svg>
<svg class="lnr lnr-power-switch" id="hudElem5" onclick="document.getElementById('phrase').innerHTML=' '; document.getElementById('phrase').style='display:block'; document.getElementById('tutfin').innerHTML=' '; document.getElementById('data1').innerHTML=' ';document.getElementById('demo').innerHTML=' '" style="fill:gold;margin:0vw 3vw 0vw 3vw"><use xlink:href="#lnr-cross-circle"></use></svg>
<span class="divTableRow" id="contentgame"><hr><br>
</span>
<span id="nextnext" class="divTableRow">
<hr><h1 align="center" style="text-align:center;color:silver;">D-Mobile<hr></h1><br>
<span class="divTableRow">
<span class="box divTableCell" id="box1" onclick="document.getElementById('box2').style='visibility:hidden'; document.getElementById('box6').style='visibility:hidden'; this.style='visibility:hidden'" value="1">1</span><span class="box divTableCell" id="box2" onclick="this.style='visibility:hidden'" value="2">2</span><span class="box divTableCell" id="box3" onclick="document.getElementById('box1').style='visibility:hidden'; document.getElementById('box5').style='visibility:hidden'; this.style='background-color:blue;opacity:0.4;color:white'" value="3">3</span>
</span>
<span class="divTableRow">
<span class="box divTableCell" id="box4" onclick="document.getElementById('box9').style='visibility:hidden'; document.getElementById('box8').style='visibility:hidden'; this.style='visibility:hidden';document.getElementById('box6').style='visibility:visible'" value="4">4</span><span onclick="document.getElementById('box9').style='visibility:hidden'; document.getElementById('box2').style='visibility:visible'; this.style='visibility:hidden'" class="box divTableCell" id="box5" value="5">5</span><span onclick="document.getElementById('box9').style='visibility:visible'; document.getElementById('box4').style='visibility:hidden'; this.style='background-color:yellow;color:black;opacity:0.4;'" class="box divTableCell" id="box6" value="6">6</span>
</span>
<span class="divTableRow">
<span class="box divTableCell" id="box7" onclick="document.getElementById('box3').style='visibility:visible'; this.style='visibility:hidden'; document.getElementById('box6').style='visibility:visible'" value="7">7</span><span class="box divTableCell" onclick="document.getElementById('box9').style='visibility:visible'; document.getElementById('box1').style='visibility:hidden'; this.style='visibility:hidden'" id="box8" value="8">8</span><span class="box divTableCell" id="box9" onclick="document.getElementById('boxstar').style='visibility:visible'; document.getElementById('box0').style='visibility:hidden'; this.style='background-color:red;color:black;opacity:0.4;'; document.getElementById('phrase').innerHTML='Asterisks are entered as non-alphanumberic actions.'" value="9">9</span>
</span>
<span class="divTableRow" width="65%" style="margin:0.05% 16.5% 0.05% 16.5%;">
<span class="box divTableCell" id="boxpound" onclick="document.getElementById('box0').style='visibility:hidden'; this.style='visibility:hidden'" value="#">#</span><span class="box divTableCell" onclick="document.getElementById('box3').style='visibility:hidden';document.getElementById('box2').style='visibility:visible'; document.getElementById('box7').style='visibility:visible'; document.getElementById('box9').style='visibility:hidden'; this.style='visibility:hidden'" id="box0" value="0">0</span><span class="box divTableCell" id="boxstar" onclick="document.getElementById('nextnext').style='display:none'; document.getElementById('data1').value=' '; icon0(); document.getElementById('finTut').style='display:none'; document.getElementById('tutfin').innerHTML=''" value="*">*</span>
</span><hr>
</span>
<span id="phrase"></span>
</br>
<span id="boxxy" >
<span id="voidspace" onClick="this.style='display:none'; document.getElementById('oidspace').style='display:inline-block;background-color:black;color:white'">
<svg class="lnr3 lnr-volume lnrgold"><use xlink:href="#lnr-volume"></use></svg>
</span>
<span id="oidspace" onClick="this.style='display:none'; document.getElementById('idspace').style='display:inline-block;background-color:white;color:black'">
<svg class="lnr lnr-volume lnrsilver"><use xlink:href="#lnr-volume-low"></use></svg>
</span>
<span id="idspace" onClick="this.style='display:none'; document.getElementById('dspace').style='display:inline-block;background-color:black;color:white'">
<svg class="lnr lnr-volume lnrbin0"><use xlink:href="#lnr-volume-medium"></use></svg>
</span>
<span id="dspace" onClick="this.style='display:none'; setTimeout(function() {funfun();}, 15000);">
<svg class="lnr lnr-volume lnrbin1"><use xlink:href="#lnr-volume-high"></use></svg>
</span>
</span>
</span>
<br>
<!--<a href="https://surveyheart.com/form/5dfb13e76fe9930c0c33b863" target="_blank" alt="User Sugg SubFor" id="ussf"><sub><b><i>User-Sugg SubFor</i></b></sub></a>-->
<hr style="margin-bottom:-1%;">
<br><span id="themeop" style="margin-right:-4vw;margin-left:4vw;" onclick="document.getElementById('voidspace').style='display:block'; this.style='visibility:hidden'">Photon>Light>Observation>Eyes>Brain>Thought>Knowledge</span>
<span style="margin-left:5%; margin-right:5%;"></span>
<span id="themeop2" onclick="document.getElementById('themeop').style='color:silver;border:silver solid 0.03vw;visibility:visible'; this.style='visibility:hidden'">action 2</span>
<br>
<h6>
</h6><h5><b id="res">Resources:</b></h5>
<h6>
<div style="margin-left:15%;margin-bottom:-0.69%;">
<li id="nullobj"><a id="nullobj" href="https://codepen.io/nullobject/pen/cngzI">nullobject (console.logs)</a></li>
</div>
<div style="margin-right:15%;margin-top:-0.69%;">
<li id="w3res"><a id="nullobj" href="https://itty.bitty.site">Itty Bitty</a></li>
</div>
<div style="margin-right:15%;margin-top:-0.83.5%;">
<li id="w3res"><a id="w3res" href="https://codepen.io/w3resource/pen/KeRQjG">w3resource (ascii2hex)</a></li>
</div>
<div style="margin-left:15%;margin-bottom:-0.69%;">
<li id="nullobj"><a id="nullobj" href="https://linearicons.com/">Linear Icons</a></li>
</div>
</h6>
<hr style="margin-top:-0.75%">
<div align="center"><footer id="footer"><br>
<a href="https://codepen.io/digimancer3d/pen/xxbgRXO" id="footlnk">Find this <q>modified Base(3,8)36.9</q> (<i>by <b>3D</b></i>) on <b>CodePen</b></a>
</footer>
</div>
</b></span></div><b>
<script>
function ascii_to_base38(str1) {
var arr1 = [],
arr2 = [],
outend = [],
arr3 = '',
arr4 = '',
arr5 = '';
for (var n1 = 0, l1 = str1.length; n1 < l1; n1++) {
var hex1 = Number(str1.charCodeAt(n1)).toString(3);
arr1.push(hex1);
var hex2 = Number(str1.charCodeAt(n1)).toString(8);
arr2.push(hex2);
var out1 = Number(str1.charCodeAt(n1)).toString(36);
outend.push(out1);
}
var out2 = outend.join(''),
out4 = out2.length,
out3 = out1.toString(36);
arr3 = arr1.join(''), arr4 = arr2.join('');
arr5 = (out4 * (arr4 / arr3)).toString(36.9).replace('00000000000000000000000000000000000000000000000000', ':50').replace('0000000000000000000000000000000000000000000000000', ':49').replace('000000000000000000000000000000000000000000000000', ':48').replace('00000000000000000000000000000000000000000000000', ':47').replace('0000000000000000000000000000000000000000000000', ':46').replace('000000000000000000000000000000000000000000000', ':45').replace('00000000000000000000000000000000000000000000', ':44').replace('0000000000000000000000000000000000000000000', ':43').replace('000000000000000000000000000000000000000000', ':42').replace('00000000000000000000000000000000000000000', ':41').replace('0000000000000000000000000000000000000000', ':40').replace('000000000000000000000000000000000000000', ':39').replace('00000000000000000000000000000000000000', ':38').replace('0000000000000000000000000000000000000', ':37').replace('000000000000000000000000000000000000', ':36').replace('00000000000000000000000000000000000', ':35').replace('0000000000000000000000000000000000', ':34').replace('000000000000000000000000000000000', ':33').replace('00000000000000000000000000000000', ':32').replace('0000000000000000000000000000000', ':31').replace('000000000000000000000000000000', ':30').replace('00000000000000000000000000000', ':29').replace('0000000000000000000000000000', ':28').replace('000000000000000000000000000', ':27').replace('00000000000000000000000000', ':26').replace('0000000000000000000000000', ':25').replace('000000000000000000000000', ':24').replace('00000000000000000000000', ':23').replace('0000000000000000000000', ':22').replace('000000000000000000000', ':21').replace('00000000000000000000', ':20').replace('0000000000000000000', ':19').replace('000000000000000000', ':18').replace('00000000000000000', ':17').replace('0000000000000000', ':16').replace('000000000000000', ':15').replace('00000000000000', ':14').replace('0000000000000', ':13').replace('000000000000', ':12').replace('00000000000', ':11').replace('0000000000', ':10').replace('000000000', ':9').replace('00000000', ':8').replace('0000000', ':7').replace('000000', ':6').replace('00000', ':5').replace('0000', ':4').replace('000', ':3').replace('112', 'b2').replace('.:', '').replace(':.', '').replace('.', '').replace(':', '').replace('..', '').replace('211', 'fa1').replace('011', 'fq').replace('0123', 'ab').replace('4567', 'bc').replace('890', 'cd').replace('cd', '3D').replace('abc', '01').replace('def', '02').replace('010', '5').replace('012', '6').replace('5c7', 'e').replace('5d2', 'f').replace('0', '1').replace('mowz', 'k47').replace('uno', '1').replace('113', '13').replace('j2', '2').replace('j2', 'j').replace('j2', '3').replace('qrq', 'R').replace('bulb', 'B2').replace('10y', '1y').replace('bcb', 'c2').replace('aiv', 'h5').replace('so', '50').replace('kom', 'km').replace('peo', 'p0').replace('1r', 'W').replace('1r', 'r').replace('1r', '1').replace('1r', 'z2').replace('144', '4').replace('daa', 'a').replace('myk', 'mk').replace('wio', 'w10').replace('10', '0').replace('bia', 'aA').replace('50s', '5s').replace('2am', 'i').replace('cbn', '8').replace('zxs', '5s').replace('joy', '0y').replace('00q', 'q').replace('001', '1z').replace('gng', '2gn').replace('ggw', '6').replace('ffl', 'ff7').replace('fans', '4ph').replace('5e5', '5e').replace('115', '5ji').replace('nnq', 'q2').replace('396', 'i1g').replace('btg', 'vw').replace('ppm', '87').replace('');
arr5 = (out4 * (arr4 / arr3)).toString(36.9).replace('00000000000000000000000000000000000000000000000000', ':50').replace('0000000000000000000000000000000000000000000000000', ':49').replace('000000000000000000000000000000000000000000000000', ':48').replace('00000000000000000000000000000000000000000000000', ':47').replace('0000000000000000000000000000000000000000000000', ':46').replace('000000000000000000000000000000000000000000000', ':45').replace('00000000000000000000000000000000000000000000', ':44').replace('0000000000000000000000000000000000000000000', ':43').replace('000000000000000000000000000000000000000000', ':42').replace('00000000000000000000000000000000000000000', ':41').replace('0000000000000000000000000000000000000000', ':40').replace('000000000000000000000000000000000000000', ':39').replace('00000000000000000000000000000000000000', ':38').replace('0000000000000000000000000000000000000', ':37').replace('000000000000000000000000000000000000', ':36').replace('00000000000000000000000000000000000', ':35').replace('0000000000000000000000000000000000', ':34').replace('000000000000000000000000000000000', ':33').replace('00000000000000000000000000000000', ':32').replace('0000000000000000000000000000000', ':31').replace('000000000000000000000000000000', ':30').replace('00000000000000000000000000000', ':29').replace('0000000000000000000000000000', ':28').replace('000000000000000000000000000', ':27').replace('00000000000000000000000000', ':26').replace('0000000000000000000000000', ':25').replace('000000000000000000000000', ':24').replace('00000000000000000000000', ':23').replace('0000000000000000000000', ':22').replace('000000000000000000000', ':21').replace('00000000000000000000', ':20').replace('0000000000000000000', ':19').replace('000000000000000000', ':18').replace('00000000000000000', ':17').replace('0000000000000000', ':16').replace('000000000000000', ':15').replace('00000000000000', ':14').replace('0000000000000', ':13').replace('000000000000', ':12').replace('00000000000', ':11').replace('0000000000', ':10').replace('000000000', ':9').replace('00000000', ':8').replace('0000000', ':7').replace('000000', ':6').replace('00000', ':5').replace('0000', ':4').replace('000', ':3').replace('112', 'b2').replace('.:', '').replace(':.', '').replace('.', '').replace(':', '').replace('..', '').replace('211', 'fa1').replace('011', 'fq').replace('0123', 'ab').replace('4567', 'bc').replace('890', 'cd').replace('cd', '3D').replace('abc', '01').replace('def', '02').replace('010', '5').replace('012', '6').replace('5c7', 'e').replace('5d2', 'f').replace('0', '1').replace('mowz', 'k47').replace('uno', '1').replace('113', '13').replace('j2', '2').replace('j2', 'j').replace('j2', '3').replace('qrq', 'R').replace('bulb', 'B2').replace('10y', '1y').replace('bcb', 'c2').replace('aiv', 'h5').replace('so', '50').replace('kom', 'km').replace('peo', 'p0').replace('1r', 'W').replace('1r', 'r').replace('1r', '1').replace('1r', 'z2').replace('144', '4').replace('daa', 'a').replace('myk', 'mk').replace('wio', 'w10').replace('10', '0').replace('bia', 'aA').replace('50s', '5s').replace('2am', 'i').replace('cbn', '8').replace('zxs', '5s').replace('joy', '0y').replace('00q', 'q').replace('001', '1z').replace('gng', '2gn').replace('ggw', '6').replace('ffl', 'ff7').replace('fans', '4ph').replace('5e5', '5e').replace('115', '5ji').replace('nnq', 'q2').replace('396', 'i1g').replace('btg', 'vw').replace('ppm', '87').replace('');
arr5 = (out4 * (arr4 / arr3)).toString(36.9).replace('00000000000000000000000000000000000000000000000000', ':50').replace('0000000000000000000000000000000000000000000000000', ':49').replace('000000000000000000000000000000000000000000000000', ':48').replace('00000000000000000000000000000000000000000000000', ':47').replace('0000000000000000000000000000000000000000000000', ':46').replace('000000000000000000000000000000000000000000000', ':45').replace('00000000000000000000000000000000000000000000', ':44').replace('0000000000000000000000000000000000000000000', ':43').replace('000000000000000000000000000000000000000000', ':42').replace('00000000000000000000000000000000000000000', ':41').replace('0000000000000000000000000000000000000000', ':40').replace('000000000000000000000000000000000000000', ':39').replace('00000000000000000000000000000000000000', ':38').replace('0000000000000000000000000000000000000', ':37').replace('000000000000000000000000000000000000', ':36').replace('00000000000000000000000000000000000', ':35').replace('0000000000000000000000000000000000', ':34').replace('000000000000000000000000000000000', ':33').replace('00000000000000000000000000000000', ':32').replace('0000000000000000000000000000000', ':31').replace('000000000000000000000000000000', ':30').replace('00000000000000000000000000000', ':29').replace('0000000000000000000000000000', ':28').replace('000000000000000000000000000', ':27').replace('00000000000000000000000000', ':26').replace('0000000000000000000000000', ':25').replace('000000000000000000000000', ':24').replace('00000000000000000000000', ':23').replace('0000000000000000000000', ':22').replace('000000000000000000000', ':21').replace('00000000000000000000', ':20').replace('0000000000000000000', ':19').replace('000000000000000000', ':18').replace('00000000000000000', ':17').replace('0000000000000000', ':16').replace('000000000000000', ':15').replace('00000000000000', ':14').replace('0000000000000', ':13').replace('000000000000', ':12').replace('00000000000', ':11').replace('0000000000', ':10').replace('000000000', ':9').replace('00000000', ':8').replace('0000000', ':7').replace('000000', ':6').replace('00000', ':5').replace('0000', ':4').replace('000', ':3').replace('112', 'b2').replace('.:', '').replace(':.', '').replace('.', '').replace(':', '').replace('..', '').replace('211', 'fa1').replace('011', 'fq').replace('0123', 'ab').replace('4567', 'bc').replace('890', 'cd').replace('cd', '3D').replace('abc', '01').replace('def', '02').replace('010', '5').replace('012', '6').replace('5c7', 'e').replace('5d2', 'f').replace('0', '1').replace('mowz', 'k47').replace('uno', '1').replace('113', '13').replace('j2', '2').replace('j2', 'j').replace('j2', '3').replace('qrq', 'R').replace('bulb', 'B2').replace('10y', '1y').replace('bcb', 'c2').replace('aiv', 'h5').replace('so', '50').replace('kom', 'km').replace('peo', 'p0').replace('1r', 'W').replace('1r', 'r').replace('1r', '1').replace('1r', 'z2').replace('144', '4').replace('daa', 'a').replace('myk', 'mk').replace('wio', 'w10').replace('10', '0').replace('bia', 'aA').replace('50s', '5s').replace('2am', 'i').replace('cbn', '8').replace('zxs', '5s').replace('joy', '0y').replace('00q', 'q').replace('001', '1z').replace('gng', '2gn').replace('ggw', '6').replace('ffl', 'ff7').replace('fans', '4ph').replace('5e5', '5e').replace('115', '5ji').replace('nnq', 'q2').replace('396', 'i1g').replace('btg', 'vw').replace('ppm', '87').replace('19ts3ms7vbv9', 'You awake sitting in a chair in a unlight space. You can only see inches infront of you. </br><sup><i>Try clicking an arrow</i></sup>').replace('19slW83n5y6', 'Ha ha ha, it will not be that easy. </br></br>Easy but come-on, try a bit more than that.').replace('19uh06t4y9tbf', 'The only contact in the phone is:</br><q>Call4Help: early 2000s TV show <sup><sub><s>minor data loss section of memory</s></sub></sup></br><span onClick="nextnext()">(145)207-2369</q></span>').replace('19jcj1mrpndxn', '<span onClick="bigpull(); icon0()" style="color:orange">Restoring in one click...</span>').replace('19trl2moqu5d', 'A spark of light appears and in a distance you can see a table and white coloring, possibly walls. Even though the the desk is so far away, light seems close enough to touch. </br><svg class="lnr2 lnr-sun" onClick="light()"><use xlink:href="#lnr-sun"></use></svg>').replace('19v6pny0t55x', '<svg class="lnr2 lnr-power-switch" style="fill:green" onClick="setTimeout(function(){plus()}, 1000)" ><use xlink:href="#lnr-plus-circle"></use></svg> <span id="room"><svg class="lnr lnr-power-switch" onClick="icon1()"><use xlink:href="#lnr-warning"></use></svg></br></br></span><svg class="lnr2 lnr-power-switch" onClick="setTimeout(function(){minus()}, 1000)" style="fill:red"><use xlink:href="#lnr-circle-minus"></use></svg>').replace('166ogqy2vzvmk', '<svg class="lnr2 lnr-power-switch" style="fill:green" onClick="setTimeout(function(){plus()}, 1000)" ><use xlink:href="#lnr-plus-circle"></use></svg> <span id="room"></br><svg class="lnr lnr-power-switch" onClick="icon1()"><use xlink:href="#lnr-warning"></use></svg></br></span><svg class="lnr2 lnr-power-switch" onClick="setTimeout(function(){minus()}, 1000)" style="fill:red"><use xlink:href="#lnr-circle-minus"></use></svg>').replace('19trlg55yt9q', '<span onClick="icon1()" style="color:orange">Restoring in one click...</span>').replace('120593476a87ke', 'Ooo lala, 2 Game codes we see.</br></br>Keep going and good luck.').replace('1212d6ladrw5', 'Ooo lala, 2 Game codes we see.</br></br>Keep going and good luck.');
return arr5;
}
console.log(ascii_to_base38(data1.value));
function nextnext() {
document.getElementById('nextnext').style="display:block";
}
var phrases = [];
function getRndInteger(min, max) {
var out22 = Math.floor(Math.random() * (max - min)) + min;
phrases = ["You stand up, spin around and see nothing. You sit bak down.", "Unsure of what you can do next, you feel around the back of the chair to feel carvings into the metal.</br><i id='shw'>124[x9d]</i>", "2", "3", "4", "5", "6", "You feel around the bottom of the chair to find a cellphone tapped to the bottom. You unstrap the phone and turn it on. During the startup only 3-8-36.9 is displayed. The phone loads on startup-- the hash generator.", "8", "9", "10"];
document.getElementById('phrase').innerHTML = phrases[out22];
}
function icon0() {
document.getElementById('icon00').style="display:block;fill:lightgreen;";
document.getElementById('finTut').style="display:none";
document.getElementById('iconhash00').style="display:block;color:lightgreen";
document.getElementById('phrase').innerHTML="";
document.getElementById('data1').innerHTML=" ";
document.getElementById('data1').value=" ";
document.getElementById('phrase').innerHTML=" ";
document.getElementById('phrase').value=" ";
phrases.splice(8, 1, "You wonder if you will make it out alive.");
}
function icon1() {
document.getElementById('icon1').style="display:block;fill:lightgreen;";
document.getElementById('finTut').style="display:none";
document.getElementById('iconhash1').style="display:block;color:lightgreen";
document.getElementById('phrase').innerHTML="";
document.getElementById('data1').innerHTML=" ";
document.getElementById('data1').value=" ";
document.getElementById('phrase').innerHTML=" ";
document.getElementById('phrase').value=" ";
phrases.splice(1, 1, "You wonder if you will make it out alive.");
}
function light() {
document.getElementById('themeop').style="visibility:visible";
document.getElementById('boxxy').style="display:block";
document.getElementById('finTut').style="display:none";
document.getElementById('phrase').innerHTML=" ";
document.getElementById('phrase').value=" ";
}
function bigpull() {
document.getElementById('nextest').style='display:inline-block';
document.getElementById('NeverBack').style='display:none';
document.getElementById('btnlast').style='display:inline-block; margin-right:-1px; margin-left:1px; fill:lightgreen;-index:2';
document.getElementById('btnsdw').style='display:inline-block; fill:darkgreen; margin-right:-1px; margin-left:1px; margin-top:-46%; z-index:-1;';
document.getElementById('inputbtn').style='display:none';
document.getElementById('inp').value='Input Game Codes & Qs Here';
document.getElementById('titl').innerHTML='Hash Game!';
document.getElementById('inpbtn').style='display:block';
document.getElementById('inp').style='width:135%; align:center; margin-left:-17.25%;';
}
function plus(){
document.getElementById('room').style="display:block";
}
function minus(){
document.getElementById('room').style="display:none";
}
function funfun() {
alert("You hear what sounds like a phone ringing!");
document.getElementById('data1').innerHTML='A voice whispers in as the ringing stops, "5-j-i bracket open e-l-5 bracket close"';
document.getElementById('phrase').innerHTML=" ";
document.getElementById('phrase').value=" ";
document.getElementById('boxxy').style="display:none";
}
function creditAlert() {
alert("Hello & Welcome to the hash helpful alert box.\n\nThis is an extreamly simple javascript SHA generator.\n\nThis is an example of the SHA so only 38 characters can be considered before an infinite considered math output is to be expected without further processing for the longer output during the quick math build.\n\nIf you came here looking to play a game, the recommended movement is to click on the nothing when clicked.\n\n\n[LS0zRA]\n --3D Twitter:@Radioactive3D");
}
function Tutend() {
alert('Hooray, Your won Game code is: 151[uf8] \n\nPlease Enter with caution & make sure the game is on.');
document.getElementById('finTut').style="display:none";
}
</script>
<script type="text/javascript"></script></b></body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment