aoc::year2024::day22::scalar

Function hash

Source
fn hash(n: u32) -> u32
Expand description

Compute next secret number using a Xorshift LFSR.