Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: ANNOUNCE Crypt::OpenPGP

by John M. Dlugosz (Monsignor)
on Aug 07, 2001 at 01:53 UTC ( [id://102633]=note: print w/replies, xml ) Need Help??


in reply to ANNOUNCE Crypt::OpenPGP

Is there a tutorial or examples on the way, too?

From the docs, it looks like it only works on data saved in named files, not streams that I can feed as I go. Is that correct?

I plan to try it shortly, or at least this weekend (after I finish another module).

This is very exciting! I've seen how easy it is to do RC4 symetric encryption in Perl, but the idea of doing public key stuff was daunting.

—John

Replies are listed 'Best First'.
Re: Re: ANNOUNCE Crypt::OpenPGP
by btrott (Parson) on Aug 07, 2001 at 03:04 UTC
    It works on scalar data; the data doesn't have to be in files. Look at the 'Data' parameter to encrypt and sign, in particular; that lets you specify the data to be encrypted/signed as a scalar string, rather than as a filename.

    And all of the methods return data as a scalar; they don't write data to a file.

    Furthermore, you can always go under the hood and use the lower-level interface in the other modules if you wish. I will add some "SEE ALSO" sections to the main Crypt::OpenPGP docs, but the other classes are all documented (basically :), so they should be useable on their own.

    BTW: As for tutorial and examples: at the moment the best I can offer for examples is the test suite and the SYNOPSIS. Examples will come in the future.

      OK, that's good.

      When I looked at your site, the docs had all empty sections except a rather long overview. I saw parameters with names like file=> and it looked like you were passing filenames.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-19 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found