Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Crypt fun

by archon (Monk)
on Mar 27, 2001 at 00:10 UTC ( [id://67313]=note: print w/replies, xml ) Need Help??


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"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67313]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-04-18 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found