prng: fix rand() to give good sequence with small state
[musl] / include / crypt.h
2012-06-29 Rich Felkerreplace old and ugly crypt implementation