Forum Discussion
gpoverland
Nimbostratus
Nothing yet.. The example didn't really define with comments what the values mean. For example, I believe the message variable is the data I want encrypted and that the token is the output. This could be just an issue of me reading up on HMAC, so just trying to see if someone has a full blown example of how they used it for say... user session authentication or validation.. Make sense? Thanks for replying so quickly
Kai_Wilke
Feb 03, 2016MVP
On the first sight i would say that $message is the message to be authenticated and $input is your secret key.
You may also take a look to the available Google-Authenticator iRule samples, to see some real world examples. GA tokens are using HMAC-SHA1 calculations.
Cheers, Kai