Add a HmacSlice function.