none
CryptDeriveKey (OID) is unknown whit DES and SHA256 under Windows 7 RRS feed

  • Question

  • I'm testing some components i build with vs2008 SP1 targeting .net framework 3.5 SP1.
    I'm getting the above exception in the method PasswordDeriveBytes.CryptDeriveKey passing "SHA256" as the parameter of the hashing algorithm, this method works OK under XP SP3, as I understand this algorithms were added with the SP1 of 3.5 and Windows 7 comes with 3.5 SP1.
    So my question is how I can get SHA256 under windows 7.

    Thanks.

    Windows 7

    Monday, January 4, 2010 10:01 AM