in reply to Re: AES Interoperability between Perl and C#
in thread AES Interoperability between Perl and C#
Thank you for the code sample. One part I'm curious about in the C# segment. Do you understand the significance of this block?
encLen = BitConverter.GetBytes( IPAddress.HostToNetworkOrder(toEncrypt.Length)); csEncrypt.Write(encLen, 0, encLen.Length);
When I comment it out, the encrypted string becomes much shorter, but it's still decryptable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: AES Interoperability between Perl and C#
by ikegami (Patriarch) on Nov 17, 2005 at 22:22 UTC | |
by jpfarmer (Pilgrim) on Nov 17, 2005 at 22:32 UTC | |
by ikegami (Patriarch) on Nov 17, 2005 at 22:49 UTC |