Issue With TripleDESCryptoServiceProvider

From: JD (JD_at_discussions.microsoft.com)
Date: 06/24/04

  • Next message: Cesar Saucedo: "Getting "A potentially Dangerous Request.Cookies Value" error"
    Date: Thu, 24 Jun 2004 06:13:03 -0700
    
    

    I have encountered an issue with the weak key 'protection' in this class.

    I am currently writing a smart card application. The test cards I have use a weak key "KEY TESTKEY TEST". Because this key is weak the TripleDes Set Key throws an exception.

    Am currently developing a work around, bit of a pain.

    Two comments:
    1) It would be nice if there a property in the class 'allowWeakKey'
    2) Why is the class sealed for that matter are any classes sealed?

    Thanks


  • Next message: Cesar Saucedo: "Getting "A potentially Dangerous Request.Cookies Value" error"