public function setEncKeyLength($keyLength) {
        $keyLengthCast = (int) $keyLength;
        
        if (!($keyLengthCast > 0)) {
            throw new UserCredentialException('The encryption key length must be an integer', 2105);
        }
        
        $this->keyLength = $keyLengthCast;
    }