[REBOL] HMAC and CRAM
From: andreas::bolka::gmx::net at: 25-Jul-2003 19:26
i have just spent some time to implement HMAC-MD5 and CRAM-MD5
functionality (most of the time was actually spent to _test_ and
validate it :) and then i discover once more that a more extensive
version of RTFM (as in 'read the f*cking manual') would have been
better in the first instance.
just a quick note for future case of someone searching the list
archives instead of having a second look at 'checksum.
>> ? checksum
/key -- Returns keyed HMAC value
key-value -- Key to use (Type: any-string)
>> checksum/method/key "what do ya want for nothing?" 'md5 "Jefe"
perfectly valid hmac-md5 :) and if anyone needs cram-md5:
checksum/method/key challenge 'md5 key
for HMAC/CRAM-SHA1 use 'sha1 as argument to checksum's /method
refinement. have a nice day :)