Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Good Results from using the Random USB generators for Keys - ONERNG $40USD to Get Real Random seeds #6

Open
room101-dev opened this issue Nov 4, 2022 · 0 comments

Comments

@room101-dev
Copy link
Owner

The Czech $40USD USB random number generators are real good about generating real random numbers to seed the algo that feeds new keys to the engine;

I will post code example ( bash linux )

here /dev/random uses the onerng usb random generator to get the seed

e=$(cat /proc/sys/kernel/random/entropy_avail)
h=$( head -c $e /dev/random | sha3sum -b -a 256 | awk '{print $1}' ); echo $h
echo '/dev/random from onerng'
timeout 120m /mnt/Mining/Crypto/vanity-search/VanitySearch -gpu -s "$h" -gpu -gpuId 3 -t 1 -r 5000 $prefix

There is a loop around the above code, as seen every two hours the loop runs again, the seed for the algo is using a REAL random number from USB generator, I like sha3 its what ETH uses Kecak I think much better than NSA SHA256 used on BTC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant