key is int :noway:

This commit is contained in:
Dario48true 2024-09-25 13:17:38 +02:00
parent 599ec0c8bf
commit b3c05b28fa

View file

@ -14,6 +14,8 @@ function mod(n, p) {
function encrypt(msg, key) {
var encMsg = "";
key -= 0;
for (var i = 0; i < msg.length; i++) {
var code = msg.charCodeAt(i);