To improve security, we have implemented a new default encryption mechanism to prevent attacks coming from the most dedicated hackers.
All SDKs will be updated accordingly to meet our security requirements, therefore, if you use encryption in your project and notice that it does not behave as expected after an SDK update, it's most probably because of the change.
To get this sorted you can:
1. Switch to legacy mode and set:
use_random_initialization_vector = false
2. Update all your SDKs, having the default value:
use_random_initialization_vector = true
NOTE: Stored messages, published using the old encryption method will not be compatible with the new mechanism.
In case of any questions, contact us at email@example.com