public class AES extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AES.InvalidAESStreamException |
static class |
AES.InvalidKeyLengthException |
static class |
AES.InvalidPasswordException |
static class |
AES.StrongEncryptionNotAvailableException |
Constructor and Description |
---|
AES() |
Modifier and Type | Method and Description |
---|---|
static int |
decrypt(char[] password,
InputStream input,
OutputStream output) |
static void |
encrypt(int keyLength,
char[] password,
InputStream input,
OutputStream output) |
public static void encrypt(int keyLength, char[] password, InputStream input, OutputStream output) throws IOException
IOException
public static int decrypt(char[] password, InputStream input, OutputStream output) throws IOException
IOException
Copyright © 2019. All rights reserved.