Pseudorandom Generator Microlab (SHA-256)

Hash a hex seed, emit the final hash byte, then feed hash bytes into the next round. Counter-patched mode replaces the emitted byte with the round counter so each generated next seed is 32 bytes.

Any complete hex bytes. Leave blank to generate a random 32-byte seed.
Run with a blank seed to generate a random seed.
seed input
kept hash byte
emitted byte
counter byte

Output bytes

Run the demo to produce output.