On 1/17/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:

hi,
  I need to encrypt it because i don't want to hardcode the password in
the script so as to make it a bit secure from data theft .. this option is
there in all the other tool such as Winrunner,QTP,TP ..


OK.  How do those other tools do encryption and decription?  I've never
used them.

Sorry, I'm not trying to be difficult, but in my experience, it's rare that
data theft is an issue in a test environment.

You could take Mr. Kruse's suggestion and rot13 it, which can be decoded
easily, or you could use a Basic Authentication scheme which is
"user:password" encoded in base64, and a little bit harder to decode
(although wireshark/ethereal decrypts it for you on the fly), or you can use
any other encryption scheme you'd like.

I'll suggest that it is unlikely that any kind of password encryption will
ever be built into Watir directly, but there are any number of encryption
schemes available in Ruby.  Google for "ruby encryption" to get an idea of
what's available.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to