From 7941950dabdcd1241762f8bb301850e7a3639310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20GARNIER?= Date: Wed, 4 Jan 2023 13:34:11 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'WEB/View/src/JS/Ce?= =?UTF-8?q?sarDecrypt.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB/View/src/JS/{cesarDecrypt.js => CesarDecrypt.js} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename WEB/View/src/JS/{cesarDecrypt.js => CesarDecrypt.js} (99%) diff --git a/WEB/View/src/JS/cesarDecrypt.js b/WEB/View/src/JS/CesarDecrypt.js similarity index 99% rename from WEB/View/src/JS/cesarDecrypt.js rename to WEB/View/src/JS/CesarDecrypt.js index 61377bfa..70865298 100644 --- a/WEB/View/src/JS/cesarDecrypt.js +++ b/WEB/View/src/JS/CesarDecrypt.js @@ -2,8 +2,6 @@ async function submit(){ var test = editor.getValue()+`\n -import random as r - def DecryptVerif(text, key): result = "" for i in range(len(text)): @@ -16,6 +14,7 @@ def DecryptVerif(text, key): result += chr((ord(char) - key - 97) % 26 + 97) return result +import random as r def testDecrypte(x): Decrypt("",1) if(Decrypt("Jgnnq yqtnf",2)!="Hello world"):