Added hmac computation to upload