public interface BytesEncryptor
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encrypt(byte[] input,
int outputOffset,
byte[] flags)
Transform input bytes using default encryption key.
|
byte[] encrypt(byte[] input,
int outputOffset,
byte[] flags)
input - a buffer with unencrypted bytes.outputOffset - how much empty space to leave in the beginning of the returned
output array. This would allow the caller to prepend extra
data to the encrypted array.flags - a byte[1] that allows nested encryptors to manipulate header
flags.Copyright © 2001–2015 Apache Cayenne. All rights reserved.