Implement hmacD