RSA encrypted strings - what data type?

2002-03-26 Thread Steven Hajducko
Hi, I'm new to the list and I joined because I couldn't figure out the answer to this problem. I'm trying to take a string ( In this case, a password ), and encrypt it with RSA encryption via the perl module, Crypt::RSA. Later on, I want to be able to pull the encrypted string back out and

Re: RSA encrypted strings - what data type?

2002-03-26 Thread Christopher Thompson
On Tuesday 26 March 2002 3:26 pm, Steven Hajducko wrote: I'm trying to take a string ( In this case, a password ), and encrypt it with RSA encryption via the perl module, Crypt::RSA. Later on, I want to be able to pull the encrypted string back out and decrypt it. Note that if you do this,

Re: RSA encrypted strings - what data type?

2002-03-26 Thread Steven Hajducko
On Tue, 2002-03-26 at 14:35, Christopher Thompson wrote: On Tuesday 26 March 2002 3:26 pm, Steven Hajducko wrote: I'm trying to take a string ( In this case, a password ), and encrypt it with RSA encryption via the perl module, Crypt::RSA. Later on, I want to be able to pull the

Re: RSA encrypted strings - what data type?

2002-03-26 Thread Lance Uyehara
I'm trying to take a string ( In this case, a password ), and encrypt it with RSA encryption via the perl module, Crypt::RSA. Later on, I want to be able to pull the encrypted string back out and decrypt it. One of three things happens when I do this however. 1) Everything works fine. 2)

Re: RSA encrypted strings - what data type?

2002-03-26 Thread Steven Hajducko
Well, I screwed around with it. This is what I got ( just in case anybody cares.. ) ( this is in perl, using the Crypt::RSA module.. ) $password = screwyou!; # encrypts the 'password'... $cyphertext = $rsa-encrypt(Message=$password, Key=$pub); # now convert the RSA encrypted key to binary.