org.jivesoftware.spark.util
Class Encryptor

java.lang.Object
  extended by org.jivesoftware.spark.util.Encryptor

public class Encryptor
extends java.lang.Object

Encrypts and Decrypts text based on DESede keys.

Author:
Derek DeMoro

Constructor Summary
Encryptor()
           
 
Method Summary
static java.lang.String decrypt(java.lang.String string)
           
static java.lang.String encrypt(java.lang.String string)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Encryptor

public Encryptor()
Method Detail

encrypt

public static java.lang.String encrypt(java.lang.String string)
                                throws java.lang.Exception
Throws:
java.lang.Exception

decrypt

public static java.lang.String decrypt(java.lang.String string)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception