public function getEncryptedId($id) 
	{
	    $hashids = $this->getServiceLocator()->get('neobazaar.service.hashid');
	    $hash = $hashids->encrypt($id);
	    
	    return $hash;
	}
public function getEncryptedId($id) 
	{
	    $hashids = $this->getServiceLocator()->get('neobazaar.service.hashid');
	    $hash = $hashids->encrypt($id);
	    
	    return $hash;
	}
public function getEncryptedId ( $ id ) { $ hashids = $ this -> getServiceLocator ( ) -> get ( 'neobazaar.service.hashid' ) ; $ hash = $ hashids -> encrypt ( $ id ) ; return $ hash ; }
Return the encrypted id using hash id service

@param int $id
@return string
Return the encrypted id using hash id service