Dear Monks,

I am finally getting a handle on WWW::Mechanize.

Now I want to go into my brokerage account and do some screen scraping.

But before I start testing my ability to get into my account by sending my USER/PASS out over the web using WWW::Mechanize, I thought it might be good to encrypt them.

I know little about encryption, save that it exists and that I should probably most definitely use it in this case.

The code that I am currently using is ...

$mech->submit_form( form_name => nameOFform, fields => { user => 'MyName', pass => 'MyPass', } );

I am curious what modifications I should make to encrypt these values as they course through the ether.

I ask for the monks' direction in further educating myself in this area ... and at the same time not setting myself up to see my brokerage account looted.

Most Humbly,

Chris Herold

In reply to Encrypting User/Pass sent by WWW::Mechanize by cdherold

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.