blockLen method
Implementation
int blockLen() {
if (cipher.type == CipherAlgorithm.AES) {
return AES_BLOCK_SIZE;
} else if (cipher.type == CipherAlgorithm.DESede) {
return DESCipher.blockSize;
} else {
_log.error("Unsupported cipher algorithm: ${cipher.type}");
throw SMError("Unsupported cipher algorithm: ${cipher.type}");
}
}