public final class Raes extends Object
Note that this class is not intended to access RAES encrypted ZIP files - use the TrueVFS client API modules for this task instead.
Modifier and Type | Method and Description |
---|---|
static void |
decrypt(Path cipherFile,
Path plainFile,
boolean authenticate)
Decrypts the given RAES file to the given plain file.
|
static void |
encrypt(Path plain,
Path cipher)
Encrypts the given plain file to the given RAES file.
|
public static void decrypt(Path cipherFile, Path plainFile, boolean authenticate) throws IOException
authenticate
- If this is true
, the channel data get
authenticated.
Note that this operation has linear complexity.
If this is false
, only the key/password and the file
length get authenticated.IOException
public static void encrypt(Path plain, Path cipher) throws IOException
IOException
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.