The cipher must be initialized for the requested operation before being used by a {@code CipherOutputStream}. For example, if a cipher initialized for encryption is used with a {@code CipherOutputStream}, the {@code CipherOutputStream} tries to encrypt the data writing it out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|