Package org.jets3t.apps.utils
Class FileCryptoTool
java.lang.Object
org.jets3t.apps.utils.FileCryptoTool
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 -
Method Summary
-
Constructor Details
-
FileCryptoTool
public FileCryptoTool()
-
-
Method Details
-
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 -
main
- Throws:
Exception
-