mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-25 01:06:16 -04:00
add Set Difference operation
This commit is contained in:
parent
03ecaa81f7
commit
852c95a994
9 changed files with 176 additions and 6 deletions
|
@ -210,6 +210,25 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"Set Difference": {
|
||||
"module": "Default",
|
||||
"description": "Get the Difference of two sets",
|
||||
"inputType": "string",
|
||||
"outputType": "string",
|
||||
"flowControl": false,
|
||||
"args": [
|
||||
{
|
||||
"name": "Sample delimiter",
|
||||
"type": "binaryString",
|
||||
"value": "\\n\\n"
|
||||
},
|
||||
{
|
||||
"name": "Item delimiter",
|
||||
"type": "binaryString",
|
||||
"value": ","
|
||||
}
|
||||
]
|
||||
},
|
||||
"Set Intersection": {
|
||||
"module": "Default",
|
||||
"description": "Get the intersection of two sets",
|
||||
|
|
|
@ -9,6 +9,7 @@ import FromBase32 from "../../operations/FromBase32";
|
|||
import FromBase64 from "../../operations/FromBase64";
|
||||
import FromHex from "../../operations/FromHex";
|
||||
import RawDeflate from "../../operations/RawDeflate";
|
||||
import SetDifference from "../../operations/SetDifference";
|
||||
import SetIntersection from "../../operations/SetIntersection";
|
||||
import SetOps from "../../operations/SetOps";
|
||||
import SetUnion from "../../operations/SetUnion";
|
||||
|
@ -24,6 +25,7 @@ OpModules.Default = {
|
|||
"From Base64": FromBase64,
|
||||
"From Hex": FromHex,
|
||||
"Raw Deflate": RawDeflate,
|
||||
"Set Difference": SetDifference,
|
||||
"Set Intersection": SetIntersection,
|
||||
"": SetOps,
|
||||
"Set Union": SetUnion,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue