Thanks again Olaf!!!!! You are a life saver. I have one more favor to ask. The code below works and produces the desired example key. Is there a way that you know to do the "HASH" portion without using the fll library? Not a big deal, but this would make things more portable for me. You were right I had to work out what the example was considering a line feed before this would work correctly.
Thanks again! You are the best!
BC
Main Topics
Browse All Topics





by: Olaf_DoschkePosted on 2009-08-18 at 14:09:34ID: 25127708
HMAC itself is not very hard to code. See attached snippet. But foget that, it's even simpler: Per August, 10th, Craig Boyd has published the new version of his vfpencryption71.fll including HMAC support:
ware.com/S PSBlog/200 9/08/09/ Ma jorVFPEncr yptionUpda te.aspx
34567890', 2),13)
http://www.sweetpotatosoft
With that it's something like SET LIBRARY TO vfpencryption71.fll, then Strconv(HMAC(lcRequest,'12
This doesn't turn out as you'd like, but I'm quite sure Craig's FLL is okay, as I use HMAC SHA-1 from it successfully. So I think you need to do something with the "string to sign", before computing the HMAC signature.
Bye, Olaf.
Select allOpen in new window