mirror of
https://github.com/gchq/CyberChef
synced 2025-01-10 03:28:48 +00:00
27 lines
486 B
JavaScript
27 lines
486 B
JavaScript
/**
|
|
* Node view for CyberChef.
|
|
*
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2017
|
|
* @license Apache-2.0
|
|
*/
|
|
require("babel-polyfill");
|
|
|
|
const Chef = require("../core/Chef.js").default;
|
|
|
|
const CyberChef = {
|
|
|
|
bake: function(input, recipeConfig) {
|
|
this.chef = new Chef();
|
|
return this.chef.bake(
|
|
input,
|
|
recipeConfig,
|
|
{},
|
|
0,
|
|
false
|
|
);
|
|
}
|
|
|
|
};
|
|
|
|
module.exports = CyberChef;
|