org.jboss.dashboard.commons.security.cipher
Class PBEWithMD5AndDESCipher
java.lang.Object
org.jboss.dashboard.commons.security.cipher.PBEWithMD5AndDESCipher
public class PBEWithMD5AndDESCipher
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBEWithMD5AndDESCipher
public PBEWithMD5AndDESCipher()
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
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.