# Trivial parallel processing example[List.External:Parallel]/* * This word filter makes John process some of the words only, for running * multiple instances on different CPUs. It can be used with any cracking * mode except for "single crack". Note: this is not a good solution, but * is just an example of what can be done with word filters. */int node, total; // This node's number, and node countint number; // Current word numbervoid init(){ node = 1; total = 2; // Node 1 of 2, change as appropriate number = node - 1; // Speedup the filter a bit}void filter(){ if (number++ % total) // Word for a different node? word = 0; // Yes, skip it}