To Cecil:
You HMACSHA1-BASE64 function is good, but if key (pcKey string) greater than sha1 block size (64 bytes) it's work incorrect.
To improve this function you shoul'd add something like
/* correction by Valery A.Eliseev */
if length(pcKey) > {&xiBlockSize} then do:
set-size(mData)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.