Convert a file to base 64

I need, in order to send a document through an API, to convert an uploaded file on Bubble to a Base 64 format.

I already try this plugin:
But it seems to only be able to Encode “text” and not “file”.

Do you have an idea of how I can achieve that?

Thanks !

Any news or update on this?