public function verifyPayLoad($payLoad, $sig, $algo = null)
    {
        $encryptedPayload = $this->encryptPayLoadBasedOnToken($payLoad, $algo);
        if (strcmp($sig, $encryptedPayload) == 0) {
            return true;
        } else {
            return false;
        }
    }