Encryption in Gatling

Hi,

I came across a performance testing requirement where i need to test a HTTP POST URL which accepts an encrypted message body, that created using a custom encryption algorithm(the algorithm is available with me).
my question is how can i create a test case in gatling ,where i am creating random messages using an Pebble template and rendering few contents using feeder and need to apply my encryption algorithm each time on the created random messages and need to push this into POST body, is there anyway to achieve this using gatling?

https://gatling.io/docs/current/http/http_request/#request-body-processor