mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Fixed non-working buttons
This commit is contained in:
@@ -907,8 +907,8 @@ class CRCChecksum extends Operation {
|
|||||||
const width = BigInt(widthObject.string);
|
const width = BigInt(widthObject.string);
|
||||||
const poly = BigInt("0x" + polyObject.string);
|
const poly = BigInt("0x" + polyObject.string);
|
||||||
const init = BigInt("0x" + initObject.string);
|
const init = BigInt("0x" + initObject.string);
|
||||||
const reflectIn = reflectInObject.string === "True";
|
const reflectIn = reflectInObject === "True";
|
||||||
const reflectOut = reflectOutObject.string === "True";
|
const reflectOut = reflectOutObject === "True";
|
||||||
const xorOut = BigInt("0x" + xorOutObject.string);
|
const xorOut = BigInt("0x" + xorOutObject.string);
|
||||||
|
|
||||||
return this.crc(width, input, poly, init, reflectIn, reflectOut, xorOut);
|
return this.crc(width, input, poly, init, reflectIn, reflectOut, xorOut);
|
||||||
|
|||||||
Reference in New Issue
Block a user