<?php
$concatString = "20161017T215257|580501e9f37ee|F3C0K54C|START_LOAN_DEMAND|123456|MS|5000000|0|104|CZK|||TV Samsung S25|15001|NESS|Navratil|Zdenek|604123456||zdenek.navratil@cofidis.cz|||||||||||http://www.myelectro.cz/callback.php";
$encod = mb_detect_encoding($concatString);
$utfString = mb_convert_encoding($concatString,"UTF-8",$encod);
$hashTag = sha1($utfString,true);
echo $hashTag;
echo "\r\n";
$base64Tag = base64_encode($hashTag);
echo $base64Tag;
echo "\r\n";
$forTriple = bin2hex(mb_convert_encoding($base64Tag,"UTF-8"));
echo $forTriple;
echo "\r\n";
- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.5 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
- }����%V
�g�cu�<
fRgHoAvB/4klEVYdCv5nqmN1uTw=
665267486f4176422f346b6c455659644376356e716d4e317554773d
preferences:
151.35 ms | 404 KiB | 173 Q