mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 08:46:19 -04:00
Added differential schemes to 'XOR Brute Force' operation
This commit is contained in:
parent
cda557e1b9
commit
38792a0f02
2 changed files with 26 additions and 26 deletions
|
@ -330,30 +330,25 @@ const OperationConfig = {
|
|||
value: BitwiseOp.XOR_BRUTE_KEY_LENGTH
|
||||
},
|
||||
{
|
||||
name: "Length of sample",
|
||||
name: "Sample length",
|
||||
type: "number",
|
||||
value: BitwiseOp.XOR_BRUTE_SAMPLE_LENGTH
|
||||
},
|
||||
{
|
||||
name: "Offset of sample",
|
||||
name: "Sample offset",
|
||||
type: "number",
|
||||
value: BitwiseOp.XOR_BRUTE_SAMPLE_OFFSET
|
||||
},
|
||||
{
|
||||
name: "Scheme",
|
||||
type: "option",
|
||||
value: BitwiseOp.XOR_SCHEME
|
||||
},
|
||||
{
|
||||
name: "Null preserving",
|
||||
type: "boolean",
|
||||
value: BitwiseOp.XOR_PRESERVE_NULLS
|
||||
},
|
||||
{
|
||||
name: "Differential",
|
||||
type: "boolean",
|
||||
value: BitwiseOp.XOR_DIFFERENTIAL
|
||||
},
|
||||
{
|
||||
name: "Crib (known plaintext string)",
|
||||
type: "binaryString",
|
||||
value: ""
|
||||
},
|
||||
{
|
||||
name: "Print key",
|
||||
type: "boolean",
|
||||
|
@ -363,6 +358,11 @@ const OperationConfig = {
|
|||
name: "Output as hex",
|
||||
type: "boolean",
|
||||
value: BitwiseOp.XOR_BRUTE_OUTPUT_HEX
|
||||
},
|
||||
{
|
||||
name: "Crib (known plaintext string)",
|
||||
type: "binaryString",
|
||||
value: ""
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue