Hi,
I had to spend some time looking into this recently myself. You have two
options:
1 - K. Miyako has a plugin - CommonCrypto. Easy to use.
$signature:=HMACSHA256 ($keyData;$stringData;Crypto BASE64)
2 - Use PHP execute, but then encode the result (assuming you need to)
php way if we ever need it - do not delete
$phpOK:=PHP
Execute("";"hash_hmac";$sigBlob;"sha256";$stringToSign;$key;True)
BASE64 ENCODE($sigBlob)
$signature:=Convert to text($sigBlob;"utf-8")
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************