Package org.jets3t.apps.utils
Class FileCryptoTool
- java.lang.Object
-
- org.jets3t.apps.utils.FileCryptoTool
-
public class FileCryptoTool extends Object
A rudimentary GUI and utility for encrypting and decrypting files in a way that is compatible with JetS3t's cryptographic features.- Author:
- James Murty
-
-
Constructor Summary
Constructors Constructor Description FileCryptoTool()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decryptFile(File inputFile, File outputFile)
void
encryptFile(File inputFile, File outputFile)
void
init(String password, String algorithm)
void
init(String password, String algorithm, byte[] salt, int interationCount)
static void
main(String[] args)
-
-
-
Method Detail
-
init
public void init(String password, String algorithm, byte[] salt, int interationCount) throws NoSuchAlgorithmException, InvalidKeySpecException
-
init
public void init(String password, String algorithm) throws NoSuchAlgorithmException, InvalidKeySpecException
-
decryptFile
public void decryptFile(File inputFile, File outputFile) throws NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException, InvalidAlgorithmParameterException, IOException
-
encryptFile
public void encryptFile(File inputFile, File outputFile) throws NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException, InvalidAlgorithmParameterException, IOException
-
-