public function getNonce()
    {
        if ($this->nonce !== '') {
            return $this->nonce;
        }
        $this->nonce = md5(uniqid(rand(), true));
        return $this->nonce;
    }
public function getNonce()
    {
        if ($this->nonce !== '') {
            return $this->nonce;
        }
        $this->nonce = md5(uniqid(rand(), true));
        return $this->nonce;
    }
public function getNonce ( ) { if ( $ this -> nonce !== '' ) { return $ this -> nonce ; } $ this -> nonce = md5 ( uniqid ( rand ( ) , true ) ) ; return $ this -> nonce ; }
Method to retrieve the nonce

@return string
Method to retrieve the nonce