generate_wif_key is a wallet utility function. Move it from the EC key module to the wallet util module.