public int getKeySize() {
        return keySize;
    }
Returns the size in bits (not bytes) of generated cipher keys.

@return the size in bits (not bytes) of generated cipher keys.
crypto/cipher/src/main/java/org/apache/shiro/crypto/cipher/JcaCipherService.java