Is it possible to import an external cryptography library into UFT One for API testing?

Hi all, I have a RESTful API whose JSON request body/payload has to be completely encrypted using an AES algorithm and base64 encoded before the payload is sent to the server. Is it possible for me to import a cryptography library into UFT One and perform encryption on the JSON payload before executing the API performance test? If so, where can I find the documentation on how to extract and set the request body from the user code in the API test mode?