Please see my question below. Currently it's in the PowerShell forum but really I think it needs someone who knows about cryptography to answer:
https://social.technet.microsoft.com/Forums/windows/en-US/b10fb9ca-45ec-4e8f-bd52-5c0646719af5/generating-iis-machine-keys-with-powershell?forum=winserverpowershell