Generate a CMAC in PHP for LearningStudio Authentication Requests