- for ( uint8_t j = 0; j < sizeof(temp); ++j)
- temp[j] = legic_prng_get_bits(8);
-
- PrintAndLog("PRNG: %s", sprint_hex(temp, sizeof(temp)));
-
+ for ( uint8_t j = 0; j < sizeof(temp); ++j) {
+ temp[j] = legic_prng_get_bit(1);
+ legic_prng_forward(1);
+ //PrintAndLog("PRNG: %s", sprint_hex(temp, sizeof(temp)));
+ }
+ PrintAndLog("PRNG: %s", sprint_bin(temp, sizeof(temp)));
+