Hi
Can anyone please show me an example how to sign a string?
I need to Calculate an RFC 2104-compliant HMAC from a string with a private key using the HmacSHA256 as the hash algorithm and then Convert the resulting value to base64.
i mannaged to create an object or two but i don't knew how to take from there on.
here is an example of the object i created:
'dim myhash as new System.Security.Cryptography.HMACSHA256set
myhash = createobject("System.Security.Cryptography.HMACSHA256")WScript.echo myhash.Hashsize()WScript.echo myhash.key()
and here is another object i created:
set pkey = CreateObject("Chilkat.PrivateKey")
but as told before i need help to take it from here on
Thanks in advance.
<message edited by WeBeScript on Sunday, January 08, 2012 5:18 AM>