A hmac authentication scheme for restistream