Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.commons.security.cipher
Class PBEWithMD5AndDESCipher

java.lang.Object
  extended by org.jboss.dashboard.commons.security.cipher.PBEWithMD5AndDESCipher

public class PBEWithMD5AndDESCipher
extends Object


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

Constructor Detail

PBEWithMD5AndDESCipher

public PBEWithMD5AndDESCipher()
Method Detail

encrypt

public String encrypt(String text)
               throws GeneralSecurityException
Throws:
GeneralSecurityException

decrypt

public String decrypt(String text)
               throws GeneralSecurityException,
                      IOException
Throws:
GeneralSecurityException
IOException

main

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

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.