|
-
October 9th, 2008, 03:53 AM
#1
Encryption data, migrate code from java to C#
Hi
I have some problems to migrate a one piece of code from java to c#. Help me please!
...
private Cipher authCipher;
private SecretKeyFactory desEdeKeyFactory;
...
SecretKey kEnc = desEdeKeyFactory.generateSecret(new DESedeKeySpec(kenc));
authCipher.init(Cipher.ENCRYPT_MODE, kEnc);
byte[] e1 = authCipher.doFinal(reorderBlocks(rndIfdIcc));
...
Last edited by polszewski; October 9th, 2008 at 03:56 AM.
-
October 9th, 2008, 07:49 AM
#2
Re: Encryption data, migrate code from java to C#
so, can you tell me what's happen here:
SecretKey kEnc = desEdeKeyFactory.generateSecret(new DESedeKeySpec(kenc));
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|