public interface FileCipherService
Modifier and Type | Method and Description |
---|---|
InputStream |
decryptFile(InputStream inputStream,
String algorithm,
String key) |
EncryptedFile |
encryptFile(InputStream inputStream,
String algorithm,
int keyLength) |
EncryptedFile encryptFile(InputStream inputStream, String algorithm, int keyLength) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IOException
InputStream decryptFile(InputStream inputStream, String algorithm, String key) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IOException
Copyright © 2021 Suncode. All rights reserved.