Message from JavaScript discussions

March 2019

— Https://medium.com/zinc_work/using-cryptography-tweetnacl-js-to-protect-user-data-intro-tips-tricks-a8e38e1818b5

Message permanent page

— 

One standard strategy to prevent replays is to include an increasing number in each packet and to reject any packet whose number is not larger than the number in the last verified packet; using these sequence numbers as nonces is simpler than giving each packet a number and a random nonce.

— That's from another article

— <!DOCTYPE html>
<html>
<head>
<title>Sayı Üretimi ve Sıralama</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="yazi.css">
<script type="text/javascript">
function feriha()
{


var s1=Number(document.getElementById("adt").value);
var s2=Number(document.getElementById("snr").value);
var sayilar=new Array();
var sonuc="";

for (var i = 0 ; i < s1; i++) {


sayilar[i]=Math.ceil(Math.random()*s2);

sonuc+=sayilar[i]+"<br>";
function sirala(var dgr)
{
if (dgr=="kb")
{
sayilar.sort();
}
else if (dgr=="bk")
{
sayilar.long();
}

}

function kontrol()
{
document.getElementById("Sirala").innerHTML="sayilar";

}

}
document.getElementById("ureyenSayiYaz").innerHTML="Üreyen Sayılar --> <br> "+ sonuc ;

}




</script>
</head>
<body bgcolor="blue" id="beyaz">
<form>
<label>Adet</label>
<input type="text" name="adet" id="adt" value="7"><br><br>
<label>Sınır</label>
<input type="text" name="sinir" id="snr" value="100"><br><br>
<input type="button" name="btn" id="uret" value="Sayı Üret" onclick="feriha()">
<div id="ureyenSayiYaz"></div><br><br>
<input type="radio" checked="true" name="sira" value="kb">Küçükten Büyüğe<br><br>
<input type="radio" name="sira" value="bk">Büyükten Küçüğe<br><br>
<input type="button" name="btn" id="uret" value="Sirala" onclick="kontrol()">
</form>
</body>
</html>

Message permanent page

— Help me I can't sorting from small to large

— Https://gist.github.com/orhan55555/ca56fca4cabb8beb4034da87b54253fe

— What am i doing wrong ?

— Just want multiline

— Use `

— Inst3ad of ' or "

— `` allowed in objects?

— TRGWII Too bad...