JcaCipherService.setInitializationVectorSize

Sets the algorithm-specific initialization vector size in bits (not bytes!) to be used when generating initialization vectors. The value must be a multiple of {@code 8} to ensure that the IV can be represented as a byte array.

@param initializationVectorSize the size in bits (not bytes) of generated initialization vectors. @throws IllegalArgumentException if the size is not a multiple of {@code 8}.

class JcaCipherService
void
setInitializationVectorSize

Meta