From 1b8e9fd5290c5042c562d05fe32a705f6432319c Mon Sep 17 00:00:00 2001 From: Fufu-btw Date: Wed, 10 Jun 2026 11:42:47 +0200 Subject: [PATCH] Removing uppercase arg --- src/core/operations/ROR13.mjs | 1 - tests/operations/tests/ROR13.mjs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/operations/ROR13.mjs b/src/core/operations/ROR13.mjs index 484b87d0..ccaa5beb 100644 --- a/src/core/operations/ROR13.mjs +++ b/src/core/operations/ROR13.mjs @@ -50,7 +50,6 @@ class ROR13 extends Operation { for (let i = 0; i < input.length; i++) { const chr = input[i] & 0xFF; - hash = this.ror(hash, 13); hash = (hash + chr) >>> 0; } diff --git a/tests/operations/tests/ROR13.mjs b/tests/operations/tests/ROR13.mjs index 4517a670..18b50c27 100644 --- a/tests/operations/tests/ROR13.mjs +++ b/tests/operations/tests/ROR13.mjs @@ -16,7 +16,7 @@ TestRegister.addTests([ recipeConfig: [ { op: "ROR13", - args: [false] + args: [] }, ], }, @@ -27,7 +27,7 @@ TestRegister.addTests([ recipeConfig: [ { op: "ROR13", - args: [false] + args: [] }, ], }, @@ -38,7 +38,7 @@ TestRegister.addTests([ recipeConfig: [ { op: "ROR13", - args: [false] + args: [] }, ], },