BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
vendor
/
iyzico
/
iyzipay-php
/
src
/
Iyzipay
📤 Upload
📝 New File
📁 New Folder
Close
Editing: 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)); } }
Save
Cancel