jhomenet.commons.utils
Class EncryptionUtils

java.lang.Object
  extended by jhomenet.commons.utils.EncryptionUtils

public class EncryptionUtils
extends java.lang.Object

Author:
Jeff Genender

Constructor Summary
EncryptionUtils()
           
 
Method Summary
static java.lang.String decrypt(java.lang.String text)
          Decrypts a string text.
static java.lang.String encrypt(java.lang.String text)
          Encrypts the string text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionUtils

public EncryptionUtils()
Method Detail

encrypt

public static java.lang.String encrypt(java.lang.String text)
Encrypts the string text.

Parameters:
text - Plain clear text string to be encrypted
Returns:
A Base64 encrypted string text representation

decrypt

public static java.lang.String decrypt(java.lang.String text)
Decrypts a string text.

Parameters:
text - A Base64 encrypted string text
Returns:
A decrypted plain clear text representation


Copyright © 2004-2007 David Irwin. All Rights Reserved.