public final class Crypt extends Object
| Constructor and Description |
|---|
Crypt() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decrypt(File input) |
static String |
decrypt(File input,
String passphrase) |
static ByteArrayOutputStream |
decrypt(InputStream is) |
static ByteArrayOutputStream |
decrypt(InputStream is,
char[] passphrase) |
static ByteArrayOutputStream |
decrypt(InputStream is,
CryptConfig config) |
static ByteArrayOutputStream |
decrypt(InputStream is,
String passphrase) |
static String |
decrypt(String input) |
static String |
decrypt(String input,
String passphrase) |
static String |
encrypt(File input) |
static String |
encrypt(File input,
String passphrase) |
static ByteArrayOutputStream |
encrypt(InputStream is) |
static ByteArrayOutputStream |
encrypt(InputStream is,
char[] passphrase) |
static ByteArrayOutputStream |
encrypt(InputStream is,
CryptConfig config) |
static ByteArrayOutputStream |
encrypt(InputStream is,
String passphrase) |
static String |
encrypt(String input) |
static String |
encrypt(String input,
String passphrase) |
public static ByteArrayOutputStream encrypt(InputStream is) throws IOException
IOExceptionpublic static ByteArrayOutputStream encrypt(InputStream is, String passphrase) throws IOException
IOExceptionpublic static ByteArrayOutputStream encrypt(InputStream is, char[] passphrase) throws IOException
IOExceptionpublic static ByteArrayOutputStream encrypt(InputStream is, CryptConfig config) throws IOException
IOExceptionpublic static ByteArrayOutputStream decrypt(InputStream is) throws IOException
IOExceptionpublic static ByteArrayOutputStream decrypt(InputStream is, CryptConfig config) throws IOException
IOExceptionpublic static ByteArrayOutputStream decrypt(InputStream is, String passphrase) throws IOException
IOExceptionpublic static ByteArrayOutputStream decrypt(InputStream is, char[] passphrase) throws IOException
IOExceptionCopyright © 2017. All rights reserved.