Hi,

I have used Miyako’s HMAC-SHA256 with success, but how do I the same thing  to 
get $t_Signature using 4D’s new native CryptoKey command?

Thanks,

Michael


$t_BaseString:=$t_Realm+"&"+$t_Consumer_Key+"&"+$t_Token+"&"+$t_Nonce+"&"+$t_Epoch_TimeStamp
$t_SigningKey:=$t_Consumer_Secret+"&"+$t_Token_Secret
CONVERT FROM TEXT($t_BaseString; "utf-8"; $sourceData)
CONVERT FROM TEXT($t_SigningKey; "utf-8"; $keyData)
$t_Signature:=HMACSHA256($keyData; $sourceData; Crypto BASE64)  //Crypto BASE64



**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to