Full text search on property with base64 encoded string

hi all,

i was hoping to understand how can i perform a full text search on a string field with value thats base64 encoded? i dont know if there is a way in elasticsearch to convert encrypted fields on the fly and perform search on them? or do i have to do the decode server side (which would mean i do full text search outside of elasticsearch)? any feedback is much appreciated.

thanks