Advocate for PRNG as default option, as well as XORoshiro-256 for 64-Bit systems, and Additive Lagged Fibonacci Generator for 32-Bit legacy systems

This commit is contained in:
Fabian Druschke
2024-03-28 11:51:47 -03:00
parent e4a51c00c1
commit e6e638c4dc

View File

@@ -129,8 +129,8 @@ int nwipe_options_parse( int argc, char** argv )
/* Set default options. */
nwipe_options.autonuke = 0;
nwipe_options.autopoweroff = 0;
nwipe_options.method = &nwipe_dodshort;
nwipe_options.prng = ( sizeof( unsigned long int ) >= 8 ) ? &nwipe_isaac64 : &nwipe_isaac;
nwipe_options.method = &nwipe_random;
nwipe_options.prng = ( sizeof( unsigned long int ) >= 8 ) ? &nwipe_xoroshiro256_prng : &add_lagg_fibonacci_prng;
nwipe_options.rounds = 1;
nwipe_options.noblank = 0;
nwipe_options.nousb = 0;