Repplaced the wrong cryptographic operation: hash is needed instad of hmac