mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
parent
de3ef202d5
commit
c5a1b69c30
693 changed files with 26685 additions and 51240 deletions
|
@ -8,7 +8,8 @@
|
|||
|
||||
const assert = require("assert");
|
||||
|
||||
require("cyberchef").then((chef) => {
|
||||
require("cyberchef").then(chef => {
|
||||
|
||||
const d = chef.bake("Testing, 1 2 3", [
|
||||
chef.toHex,
|
||||
chef.reverse,
|
||||
|
@ -16,15 +17,16 @@ require("cyberchef").then((chef) => {
|
|||
op: chef.unique,
|
||||
args: {
|
||||
delimiter: "Space",
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
op: chef.multiply,
|
||||
args: {
|
||||
delimiter: "Space",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
||||
assert.equal(d.value, "630957449041920");
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue