Dear Sven,

I tried but still no luck. In any case the padding you are referring to is
for the key for the SHA256 encryption.
I have tested in the
'https://www.freeformatter.com/hmac-generator.html#ad-output' that the hex
values produced from my SHA256 operation are the same. Maybe the conversion
byteArray is wrong?
The correct result for the 'encodedSignature base64Encoded encodeForHTTP. '
should be '%2B%2FYhVkcaEIHBeUESOsJYD1nKyJXVGyFX%2FlxR616aUK4%3D''. This
result is added to a url request as the signature.

Any other suggestions?

Spilios





--
View this message in context: 
http://forum.world.st/Base64-or-HMAC-problem-tp4756788p4756864.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to