This is a PRNG, built on Jacob Rus' implementation and modified slightly for a user-friendly API.
See here for source: https://observablehq.com/@jrus/permuted-congruential-generator
This is a PRNG, built on Jacob Rus' implementation and modified slightly for a user-friendly API.
See here for source: https://observablehq.com/@jrus/permuted-congruential-generator
This includes the framework and loader. I took a look at the webassembly code with wasm2js , but it is not that interesting for finding hidden variables.
This gist is meant to help find variables and methods that can help you in development such as UTF8ToString or TOTAL_MEMORY.
| export const chaosTestStrings = (): void => { | |
| const textNodes = getAllTextNodes(document.body); | |
| for (const node of textNodes) { | |
| const textNodeLength = node.textContent ? node.textContent.length : 0; | |
| if (node.textContent === null) { | |
| return; | |
| } | |
| if (node.parentElement instanceof Element) { | |
| if (node.parentElement.dataset.originalText === undefined) { |