org.ztemplates.actions.util
Class ZEncrypter

java.lang.Object
  extended by org.ztemplates.actions.util.ZEncrypter

public class ZEncrypter
extends Object


Constructor Summary
ZEncrypter(byte[] salt, String passPhrase)
           
ZEncrypter(String passPhrase)
           
 
Method Summary
 String decrypt(String str)
           
 String encrypt(String str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZEncrypter

public ZEncrypter(byte[] salt,
                  String passPhrase)

ZEncrypter

public ZEncrypter(String passPhrase)
Method Detail

encrypt

public String encrypt(String str)
               throws Exception
Throws:
Exception

decrypt

public String decrypt(String str)
               throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.