How do mobile / software wallets like bluewallet or cakewallet create entropy? #asknostr

Replies (11)

For Android anyway its mixing entropy from a random number generator on the device with pseudo random number generation from the kernel to make an "entropy pool" The wallet reads from that pool to make a new key.
The robot says its identical for iOS Worthwhile to note The wallets themselves do not create any entropy or show any preference for any algorithm, they simply ask the operating system to provide a specific amount of entropy.
@npub18nqq...0p82 they don't roll their own, they ask the operating system. secrandomcopybytes on ios, /dev/urandom on android, hashed down to 128 or 256 bits. bluewallet also lets you feed it your own dice rolls when you create the wallet, and that is the only part of the chain you can actually check yourself.