Broker

This is generating another iv that is not related to original iv used in encrypt operation.
Purpose of initialization vector(iv) is to add randomness at encryption. Response parameter here needs to include the iv. You need to get the (iv) from response. Accuracy of the message is protected by mac digest. You should include that as well.