Hi, sorry for my bad English.
I need to port this php line to B4A:
hash_hmac function generate a keyed hash value using the HMAC method. With the last parameter to true returns raw binary data.
base64_encode function Encodes data with MIME base64.
Can someone help me please?
I need to port this php line to B4A:
PHP:
$signature = base64_encode(hash_hmac("sha256", $string_to_sign, $secret_key, true));
hash_hmac function generate a keyed hash value using the HMAC method. With the last parameter to true returns raw binary data.
base64_encode function Encodes data with MIME base64.
Can someone help me please?