public class EncryptionUtil extends Object
| Constructor and Description |
|---|
EncryptionUtil(EncryptionSpi spi,
int pageSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
decrypt(ByteBuffer encrypted,
ByteBuffer destBuf,
GroupKey grpKey) |
void |
encrypt(ByteBuffer srcBuf,
ByteBuffer res,
GroupKey grpKey) |
public EncryptionUtil(EncryptionSpi spi, int pageSize)
spi - Spi.pageSize - Page size.public void encrypt(ByteBuffer srcBuf, ByteBuffer res, GroupKey grpKey)
srcBuf - Source buffer.res - Destination buffer.grpKey - Encryption key.public void decrypt(ByteBuffer encrypted, ByteBuffer destBuf, GroupKey grpKey) throws IOException
encrypted - Encrypted buffer.destBuf - Destination buffer.IOException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021