|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dmonix.io.FileCipherer
Utility class for simple cipher/decipher of files.
Copyright: Copyright (c) 2003
Company: dmonix.org
| Constructor Summary | |
FileCipherer()
|
|
| Method Summary | |
static void |
decodeFileDES(java.io.File input,
java.io.File output,
byte[] key)
Deprecated. use org.dmonix.cipher.DataCipherer |
static void |
decodeFilePBE(java.io.File input,
java.io.File output,
char[] key)
Deprecated. use org.dmonix.cipher.DataCipherer |
static void |
encodeFileDES(java.io.File input,
java.io.File output,
byte[] key)
Deprecated. use org.dmonix.cipher.DataCipherer |
static void |
encodeFilePBE(java.io.File input,
java.io.File output,
char[] key)
Deprecated. use org.dmonix.cipher.DataCipherer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileCipherer()
| Method Detail |
public static void encodeFileDES(java.io.File input,
java.io.File output,
byte[] key)
throws java.io.IOException,
java.security.GeneralSecurityException
input - The input fileoutput - The output filekey - The key, must be exactly 8 bytes long (required by the algorithm)
java.io.IOException
java.security.GeneralSecurityException
public static void encodeFilePBE(java.io.File input,
java.io.File output,
char[] key)
throws java.io.IOException,
java.security.GeneralSecurityException
input - The input fileoutput - The output filekey - The key
java.io.IOException
java.security.GeneralSecurityException
public static void decodeFileDES(java.io.File input,
java.io.File output,
byte[] key)
throws java.io.IOException,
java.security.GeneralSecurityException
input - The input fileoutput - The output filekey - The key, must be exactly 8 bytes long (required by the algorithm)
java.io.IOException
java.security.GeneralSecurityException
public static void decodeFilePBE(java.io.File input,
java.io.File output,
char[] key)
throws java.io.IOException,
java.security.GeneralSecurityException
input - The input fileoutput - The output filekey - The key
java.io.IOException
java.security.GeneralSecurityException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||