Add a reference to System.Security.Cryptography and re-add keylen (where did that go?)