Removed processing for generation of xar.
Added $format parameter to crypto:hmac().