views:

485

answers:

2

Hi all,

I am needing to encrypt using Perl and decrypt on .Net (C#). i.e. Perl encrypts a file and my .Net code decrypts the file (and even maybe validates integrity).

The problem is that I am not familiar with the encryption capabilities of Perl. Can anyone offer guidance on how best to approach this and what the possibilities are?

Thanks in advance!

DC

+7  A: 

Use AES encryption with a common secret key.

Perl

C#

Lars Mæhlum
Sorry for unmarking your answer. Unfortunately I can't mark both of you with the correct answer - and Leon mentioned Crypt::Rijndael which helped.
David Christiansen
+8  A: 

As Lars said, AES is probably the best choice these days. For a Perl implementation, see Crypt::Rijndael

Leon Timmermans