func: void bad() char * cryptoKey ; char cryptoKeyBuffer [ 100 ] = "" ; cryptoKey = cryptoKeyBuffer; CWE321_Hard_Coded_Cryptographic_Key__w32_char_84_bad * badObject = new CWE321_Hard_Coded_Cryptographic_Key__w32_char_84_bad ( cryptoKey ) ; CWE321_Hard_Coded_Cryptographic_Key__w32_char_84_bad::CWE321_Hard_Coded_Cryptographic_Key__w32_char_84_bad(char * cryptoKeyCopy) cryptoKey = cryptoKeyCopy; strcpy ( cryptoKey , CRYPTO_KEY ); delete badObject CWE321_Hard_Coded_Cryptographic_Key__w32_char_84_bad::~CWE321_Hard_Coded_Cryptographic_Key__w32_char_84_bad() HCRYPTHASH hHash ; if ( ! CryptHashData ( hHash , ( BYTE * ) cryptoKey , strlen ( cryptoKey ) * sizeof ( char ) , 0 ) )  