B4J Question HMAC SHA256 - LordZenzo    Dec 13, 2023 hello forum
one of my applications needs to query APIs that require a signature in HMAC SHA256
I saw the SIGNATURE library but I don't know how to use it and I'm not sure it's the right... B4J Question Which library to use for HMAC-SHA256 - tried jB4XEncryption & B4XEncryption - Erel (first post)    Oct 7, 2024   (1 reaction) (j)B4XEncryption is for cross platform AES encryption: https://www.b4x.com/android/forum/threads/b4x-b4xencryption.48177/#content
You need the Encryption library: https://www.b4x.com/android/forum/th... B4J Question Problem when signing with HMAC-SHA256 - kostefar (first post)    Jul 6, 2024 add -n .
echo -n "test" | openssl dgst -sha256 -hmac "72d4b1c24f2344f29cab98607d41c2a5... B4J Question Sign the nonce with secret using HMAC-SHA256 - pedrocam    Jul 28, 2017   tags: B4A B4J =`date +%s`
signature=`echo -n "$nonce" | openssl dgst -sha256 -hex -hmac "$api_secret...="echo -n " & QUOTE & nonce & QUOTE & " | openssl dgst -sha256 -hex -hmac... B4J Code Snippet Create JWT tokens and verify them - Addo    Jan 31, 2025   (7 reactions) used for signing (HMAC-SHA256). header.Put("typ", "JWT") ' Type of token... Base64 using UTF8. End Sub ' Calculates the HMAC-SHA256 signature. Sub HMAC_SHA256(data As String... Base64 encode the payload. Dim signature As String = HMAC_SHA256(headerBase64 & "... Extract the received signature. Dim signatureCalculated As String = HMAC_SHA256... client-side code. Dim ALGORITHM As String = "HMACSHA256" ' The hashing algorithm used... B4J Question string to sha256 + salt - Douglas Farias    Sep 9, 2015 Hi All
i dont found this exacty question on the forum, how can i make a string sha256 + salt...('sha256', $key . $hmacSalt), 0, 32); # Generate the encryption and hmac key
$algorithm...('sha256', $ciphertext, $key); # Generate a keyed hash value using the HMAC method...::$salt;
}
$key = substr(hash('sha256', $key . $hmacSalt), 0, 32); # Generate... B4J Question Help With Making A Signing Function (SHA256, Base64, Etc.) - cklester    Nov 20, 2021 );
}
public sign(prehashString: string): string {
// create a sha256 hmac with the secret
const hmac = crypto.createHmac('sha256', this._privateKey);
// hash... B4J Question [SOLVED] Websocket connection to MQTT based API - bdunkleysmith (first post)    Apr 30, 2021 I have not been able to connect to the MQTT broker referred to in post #1 using websocket and suspect this is due to the "authorized url where you make a websocket connection to the message broker" returned by the authorisation call containing a query string. Format of the "authorised url" (with line feeds added to make the query parameters more visible) is: wss://xxxxxxxxxxxxxxxxxx.amazonaws.com/mqtt? X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential... B4J Question Sort json by the keys - Blueforcer    Dec 30, 2020 .createHmac('sha256', appsecert).update(message).digest('base64'); } let payload..." } } // Sort the json by the keys first payload = sortKeys(payload); // Calculate HMAC const HMAC = getSignature(JSON.stringify(payload), APP_SECRET); const signature = { "HMAC": HMAC }; const event = { header: header, payload: payload, signature : signature }; console.log(event... } }, signature: { HMAC: '5aR5dHuVPOb1rYrWIzSbwqJX6mWMlH1EluQ2Pl7sPDg=' } } */ i think ive done... B4J Question Error logging into binance. [Solved] - carlos7000    Mar 3, 2021   (1 reaction) = hash_hmac('sha256', $query, $this->api_secret);
$opt = "http...
kg.Initialize("HmacSHA512") 'initialize kg using... Page: 1   2   3   4   5   6   7   |