com.judoscript.util
Class PBEWithMD5AndDES
java.lang.Object
com.judoscript.util.PBEBase
com.judoscript.util.PBEWithMD5AndDES
public class PBEWithMD5AndDES
- extends PBEBase
Method Summary |
byte[] |
decrypt(byte[] data)
|
void |
decrypt(java.io.InputStream is,
java.io.OutputStream os)
|
byte[] |
encrypt(byte[] data)
|
void |
encrypt(java.io.InputStream is,
java.io.OutputStream os)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCRYPTION_NAME
public static final java.lang.String ENCRYPTION_NAME
- See Also:
- Constant Field Values
PBEWithMD5AndDES
public PBEWithMD5AndDES(java.lang.String password)
throws java.lang.Exception
- Throws:
java.lang.Exception
encrypt
public byte[] encrypt(byte[] data)
throws java.lang.Exception
- Specified by:
encrypt
in class PBEBase
- Throws:
java.lang.Exception
decrypt
public byte[] decrypt(byte[] data)
throws java.lang.Exception
- Specified by:
decrypt
in class PBEBase
- Throws:
java.lang.Exception
encrypt
public void encrypt(java.io.InputStream is,
java.io.OutputStream os)
throws java.lang.Exception
- Specified by:
encrypt
in class PBEBase
- Throws:
java.lang.Exception
decrypt
public void decrypt(java.io.InputStream is,
java.io.OutputStream os)
throws java.lang.Exception
- Specified by:
decrypt
in class PBEBase
- Throws:
java.lang.Exception