com.esri.arcgis.util.security
Class Cryptographer

java.lang.Object
  extended by com.esri.arcgis.util.security.Cryptographer

public class Cryptographer
extends Object


Constructor Summary
Cryptographer()
           
 
Method Summary
 String decrypt(String str)
          convenience method for encrypting a string.
 String encrypt(String str)
          convenience method for encrypting a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cryptographer

public Cryptographer()
              throws SecurityException
Throws:
SecurityException
Method Detail

encrypt

public String encrypt(String str)
               throws SecurityException,
                      UnsupportedEncodingException
convenience method for encrypting a string.

Parameters:
str - Description of the Parameter
Returns:
String the encrypted string.
Throws:
SecurityException - Description of the Exception
UnsupportedEncodingException

decrypt

public String decrypt(String str)
               throws SecurityException,
                      UnsupportedEncodingException
convenience method for encrypting a string.

Parameters:
str - Description of the Parameter
Returns:
String the encrypted string.
Throws:
SecurityException - Description of the Exception
UnsupportedEncodingException