CipherService.encrypt

Encrypts data via the specified cipher key. Note that the key must be in a format understood by the {@code CipherService} implementation.

@param raw the data to encrypt @param encryptionKey the cipher key used during encryption. @return a byte source with the encrypted representation of the specified raw data. @throws CryptoException if there is an error during encryption

interface CipherService
encrypt
(
byte[] raw
,)

Meta