Perl Encrypt / Ruby Decrypt

Dear folks,
I have encrypted string, which was encrypted by following perl code

use Crypt;
print “enter the normal pin\n”;
$entered_pin = ;
chomp ( $entered_pin );
my $EPin = Crypt::Encrypt ( $entered_pin );
print “Encrypted pin is : $EPin\n\n\n”;

I want to decrypt the encrypted string through RUBY code, is this
possible?
please let me know.

thanks,

Maran Chandrasekar wrote:

Dear folks,
I have encrypted string, which was encrypted by following perl code

use Crypt;
print “enter the normal pin\n”;
$entered_pin = ;
chomp ( $entered_pin );
my $EPin = Crypt::Encrypt ( $entered_pin );
print “Encrypted pin is : $EPin\n\n\n”;

I want to decrypt the encrypted string through RUBY code, is this
possible?
please let me know.

The answer is “yes” if that perl function does a two-way encryption, or
“no” if that perl function does a one-way encryption (a.k.a. hash
function)

So first thing you need to do is to look at the documentation for that
Perl function, and find out what type of encryption it is using, and
what algorithm.

search.cpan.org doesn’t turn up any module called “Crypt::Encrypt”, so
go look where this module came from.

If you post an example of what the PIN 1234 looks like when encrypted,
we may be able to tell you what it’s doing just from that.