Bip39 Swift Just one example of manually building entropy will be flipping a coin. But if an attacker provides a coin that is definitely weighted a little in favor of heads, your First source of entropy could have been corrupted. You are able to see the total source code in https://webnowmedia.com/story3993282/bip39-trezor-seed-phrase-generator-an-overview