com.esri.arcgis.util.security
Class Cryptographer

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

public class Cryptographer
extends java.lang.Object


Constructor Summary
Cryptographer()
           
 
Method Summary
 java.lang.String decrypt(java.lang.String str)
          convenience method for encrypting a string.
 java.lang.String encrypt(java.lang.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 java.lang.SecurityException
Throws:
java.lang.SecurityException
Method Detail

encrypt

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

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

decrypt

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

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