in reply to Crypt fun

We need some more information to determine what is wrong.

First, what does get_pubkey return?

Second, what do you mean by "Verified to work"?

Third, what do you get when you print the value of $key (after it's assigned to) in the decrypt method?

Fourth, you are trying to call a method called 'n' off a suspected object '$key'. What kind of object is $key supposed to be and are you sure it has a method called 'n'?

Replies are listed 'Best First'.
Re: Re: Crypt fun
by tame1 (Pilgrim) on Mar 27, 2001 at 00:23 UTC
    I know that $public_key has a "good" value (i.e. it is an encrypted string, some characters unprintable, that I should be able to pass to this function.

    I didn't write the RSA.pm code, so I cannot tell what he was trying to do by calling ->n on the $key! I've sent the author some email, but I have no idea when/if he will respond.

    What does this little button do . .<Click>; "USER HAS SIGNED OFF FOR THE DAY"