Click here to Skip to main content
15,913,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: findfirst Pin
Mike Nordell3-Oct-02 2:16
Mike Nordell3-Oct-02 2:16 
GeneralRe: findfirst Pin
jerry0davis3-Oct-02 3:23
jerry0davis3-Oct-02 3:23 
GeneralDialog Box after Dialog Box Pin
Chun Te, Ewe3-Oct-02 1:07
Chun Te, Ewe3-Oct-02 1:07 
GeneralRe: Dialog Box after Dialog Box Pin
benjymous3-Oct-02 1:26
benjymous3-Oct-02 1:26 
GeneralRe: Dialog Box after Dialog Box Pin
Mariusz Popiolek3-Oct-02 1:28
sussMariusz Popiolek3-Oct-02 1:28 
GeneralRe: Dialog Box after Dialog Box Pin
Debs3-Oct-02 2:15
Debs3-Oct-02 2:15 
GeneralRe: Dialog Box after Dialog Box Pin
Debs3-Oct-02 2:33
Debs3-Oct-02 2:33 
GeneralFile Decryption in VC++ by using DES Pin
hardmale_243-Oct-02 0:34
susshardmale_243-Oct-02 0:34 
Hi All,
I have encrypted the file by Java Crypto API using DES.
Now i want to decrypt the same file by using DES.
the code for the encryption is:
String strKey="My key";
Cipher desCipher=Cipher.getInstance("DES");
SecretKeyFactory secretKeyFactory = SecretKeyFactory.getInstance("DES");
DESKeySpec desKeySpec = new DESKeySpec(strKey.getBytes());
SecretKey secretKey= secretKeyFactory.generateSecret(desKeySpec);
desCipher.init(Cipher.ENCRYPT_MODE,secretKey );
Then by using the desCipher i encrypt the file.

Now the problem is that i want to decrypt the file by using the DES algorithm in the VC++. I am bound to use the DES algorithm for the the decryption of the file.
Can, any one help me out to solve the problem?

GeneralPrinting Pin
candan3-Oct-02 0:00
professionalcandan3-Oct-02 0:00 
GeneralRe: Printing Pin
Stephane Rodriguez.3-Oct-02 0:19
Stephane Rodriguez.3-Oct-02 0:19 
GeneralMFC and ATL wizard order Pin
Debs2-Oct-02 23:03
Debs2-Oct-02 23:03 
GeneralRe: MFC and ATL wizard order Pin
Stephane Rodriguez.2-Oct-02 23:25
Stephane Rodriguez.2-Oct-02 23:25 
GeneralRe: MFC and ATL wizard order Pin
Debs2-Oct-02 23:55
Debs2-Oct-02 23:55 
GeneralRe: MFC and ATL wizard order Pin
Stephane Rodriguez.3-Oct-02 0:10
Stephane Rodriguez.3-Oct-02 0:10 
GeneralRanges in Excel Pin
Anonymous2-Oct-02 22:26
Anonymous2-Oct-02 22:26 
GeneralRe: Ranges in Excel Pin
Stephane Rodriguez.2-Oct-02 23:08
Stephane Rodriguez.2-Oct-02 23:08 
GeneralRe: Ranges in Excel Pin
Anonymous3-Oct-02 7:10
Anonymous3-Oct-02 7:10 
GeneralIMPLEMENT_SERIAL problem Pin
Stefan Larsson2-Oct-02 22:22
Stefan Larsson2-Oct-02 22:22 
GeneralRe: IMPLEMENT_SERIAL problem Pin
benjymous2-Oct-02 23:23
benjymous2-Oct-02 23:23 
GeneralRe: IMPLEMENT_SERIAL problem Pin
Stefan Larsson2-Oct-02 23:51
Stefan Larsson2-Oct-02 23:51 
GeneralRe: IMPLEMENT_SERIAL problem Pin
Tomasz Sowinski3-Oct-02 3:55
Tomasz Sowinski3-Oct-02 3:55 
GeneralRe: IMPLEMENT_SERIAL problem Pin
Stefan Larsson3-Oct-02 4:05
Stefan Larsson3-Oct-02 4:05 
GeneralCTreeCtrl question Pin
joblemar2-Oct-02 21:55
sussjoblemar2-Oct-02 21:55 
GeneralRe: CTreeCtrl question Pin
Nish Nishant2-Oct-02 22:26
sitebuilderNish Nishant2-Oct-02 22:26 
GeneralCHTMLVIEW Pin
candan2-Oct-02 21:53
professionalcandan2-Oct-02 21:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.