mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-28 02:36:16 -04:00
26 lines
478 B
JavaScript
Executable file
26 lines
478 B
JavaScript
Executable file
/**
|
|
* XKCD operations.
|
|
*
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2018
|
|
* @license Apache-2.0
|
|
*
|
|
* @namespace
|
|
*/
|
|
const XKCD = {
|
|
|
|
/**
|
|
* XKCD Random Number operation.
|
|
*
|
|
* @param {string} input
|
|
* @param {Object[]} args
|
|
* @returns {number}
|
|
*/
|
|
runRandomNumber: function(input, args) {
|
|
return 4; // chosen by fair dice roll.
|
|
// guaranteed to be random.
|
|
},
|
|
|
|
};
|
|
|
|
export default XKCD;
|