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));
...
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));