Sindbad~EG File Manager

Current Path : /home/zada/www/vendor/iyzico/iyzipay-php/src/Iyzipay/
Upload File :
Current File : /home/zada/www/vendor/iyzico/iyzipay-php/src/Iyzipay/HashGenerator.php

<?php

namespace Iyzipay;

class HashGenerator
{
    public static function generateHash($apiKey, $secretKey, $randomString, $request)
    {
        $pKIRequestString = $request ? $request->toPKIRequestString() : '';
        $hashStr = $apiKey . $randomString . $secretKey . $pKIRequestString;
        return base64_encode(sha1($hashStr, true));
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists (>^ω^<)看过哭02teddd(>^ω^<)看过哭02teddd