CyberChef/src/node/index.js

26 lines
474 B
JavaScript
Raw Normal View History

/**
* Node view for CyberChef.
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2017
* @license Apache-2.0
*/
2017-03-25 14:56:46 +01:00
require("babel-polyfill");
2017-04-13 19:08:50 +02:00
const Chef = require("../core/Chef.js").default;
const CyberChef = module.exports = {
bake: function(input, recipeConfig) {
this.chef = new Chef();
return this.chef.bake(
2017-07-24 15:49:16 +02:00
input,
recipeConfig,
{},
0,
false
);
}
};