private function validateKey($key) : bool {
        if (!hash_equals($this->appKey, $key)) {
            throw new \Nuki\Exceptions\Base('Used key does not equal the known application key');
        }
        
        return true;
    }
private function validateKey($key) : bool {
        if (!hash_equals($this->appKey, $key)) {
            throw new \Nuki\Exceptions\Base('Used key does not equal the known application key');
        }
        
        return true;
    }
private function validateKey ( $ key ) : bool { if ( ! hash_equals ( $ this -> appKey , $ key ) ) { throw new \ Nuki \ Exceptions \ Base ( 'Used key does not equal the known application key' ) ; } return true ; }
Validate the crypter application key against the used key

@param string $key
@return boolean
@throws \Nuki\Exceptions\Base
Validate the crypter application key against the used key