question regarding PServerConnection

"Shantanu Sen" <[email protected]> Fri, 19 Jul 2002 17:34:58 -0700
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Organization Vitria Tech
Message-ID <[email protected]>
I am using the cvslib library to connect to a CVS server to carry out
various commands like checkout/checkin etc. The
org.netbeans.lib.cvsclient.connection.PServerConnection has a
setEncodedPassword method. How can I encrypt a password to supply to this
method. I have a dialog which has a password field that the user supplies
the password. I need to encrypt this password in order to call this method.

Any help will be highly appreciated.

Shantanu Sen