How to use the cyberchef/src/node/index.mjs.bake function in cyberchef

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"/", 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);
    } catch (e) {


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

Latest version published 2 months ago

Package Health Score

77 / 100
Full package analysis

Popular cyberchef functions