mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Build chef.bake.
This commit is contained in:
parent
2480dca473
commit
9abaadf1b6
6 changed files with 448 additions and 139 deletions
|
@ -28,6 +28,7 @@ import {
|
|||
cartesianProduct,
|
||||
CSSMinify,
|
||||
toBase64,
|
||||
toHex,
|
||||
} from "../../../src/node/index";
|
||||
import TestRegister from "../../TestRegister";
|
||||
|
||||
|
@ -139,5 +140,12 @@ color: white;
|
|||
assert.strictEqual(result.toString(), "c29tZSBpbnB1dA==");
|
||||
}),
|
||||
|
||||
it("toHex: accepts args", () => {
|
||||
const result = toHex("some input", {
|
||||
delimiter: "Colon",
|
||||
});
|
||||
assert.strictEqual(result.toString(), "73:6f:6d:65:20:69:6e:70:75:74");
|
||||
})
|
||||
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue