How to use cyberchef - 1 common examples

To help you get started, we’ve selected a few cyberchef examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gchq / CyberChef-server / routes / bake.js View on Github external
router.post("/", async function bakePost(req, res, next) {
    try {
        if (!req.body.input) {
            throw new TypeError("'input' property is required in request body");
        }

        if (!req.body.recipe) {
            throw new TypeError("'recipe' property is required in request body");
        }

        const dish = await bake(req.body.input, req.body.recipe);
        res.send(dish.value);
    } catch (e) {
        next(e);
    }
});

cyberchef

The Cyber Swiss Army Knife for encryption, encoding, compression and data analysis.

Apache-2.0
Latest version published 6 days ago

Package Health Score

87 / 100
Full package analysis

Popular cyberchef functions