mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 21:33:36 +00:00
forgot a equal sign
This commit is contained in:
@@ -54,7 +54,7 @@ const NetBIOS = {
|
|||||||
let output = [],
|
let output = [],
|
||||||
offset = args[0];
|
offset = args[0];
|
||||||
|
|
||||||
if (input.length <= 32 && (input.length % 2) == 0) {
|
if (input.length <= 32 && (input.length % 2) === 0) {
|
||||||
for (let i = 0; i < input.length; i += 2) {
|
for (let i = 0; i < input.length; i += 2) {
|
||||||
output.push((((input[i] & 0xff) - offset) << 4) |
|
output.push((((input[i] & 0xff) - offset) << 4) |
|
||||||
(((input[i + 1] & 0xff) - offset) & 0xf));
|
(((input[i + 1] & 0xff) - offset) & 0xf));
|
||||||
|
|||||||
Reference in New Issue
Block a user