Tidied ROT brute forcing ops

This commit is contained in:
n1474335 2022-07-08 16:02:24 +01:00
parent 418a7962a5
commit eb5663a1ed
2 changed files with 26 additions and 26 deletions

View File

@ -40,28 +40,28 @@ class ROT13BruteForce extends Operation {
value: false value: false
}, },
{ {
"name": "Sample length", name: "Sample length",
"type": "number", type: "number",
"value": 100 value: 100
}, },
{ {
"name": "Sample offset", name: "Sample offset",
"type": "number", type: "number",
"value": 0 value: 0
}, },
{ {
"name": "Print amount", name: "Print amount",
"type": "boolean", type: "boolean",
"value": true value: true
}, },
{ {
"name": "Crib (known plaintext string)", name: "Crib (known plaintext string)",
"type": "string", type: "string",
"value": "" value: ""
} }
]; ];
} }
/** /**
* @param {byteArray} input * @param {byteArray} input
* @param {Object[]} args * @param {Object[]} args

View File

@ -25,28 +25,28 @@ class ROT47BruteForce extends Operation {
this.outputType = "string"; this.outputType = "string";
this.args = [ this.args = [
{ {
"name": "Sample length", name: "Sample length",
"type": "number", type: "number",
"value": 100 value: 100
}, },
{ {
"name": "Sample offset", name: "Sample offset",
"type": "number", type: "number",
"value": 0 value: 0
}, },
{ {
"name": "Print amount", name: "Print amount",
"type": "boolean", type: "boolean",
"value": true value: true
}, },
{ {
"name": "Crib (known plaintext string)", name: "Crib (known plaintext string)",
"type": "string", type: "string",
"value": "" value: ""
} }
]; ];
} }
/** /**
* @param {byteArray} input * @param {byteArray} input
* @param {Object[]} args * @param {Object[]} args