2
I am working on an email application using Vuejs/Quasar on the client and Hapijs on the server, and some emails (depends on the sender) comes with the text encoded in Base64, and others not.
Here comes the problem, to solve this I need to find a way to identify if the email body is in Base64 and only after identifying it sent decoded to the customer, and if it is not encrypted only send to the customer
Base64 should not be used for encryption, as it does not hide information
– Jefferson Quesado
I get it, I still don’t know much this Base64 business, just know that some emails come in Base64 and others not...
– LeonardoEbert
I think this is a good reading: https://answall.com/q/162369/64969
– Jefferson Quesado
So in my case, I’m not encrypting, I’m just coding so that the information can be read by any system, right??
– LeonardoEbert
That’s right. Base64 emerged in the context of email to mainly do the transfer of binary attachments files. In this case, it was a protocol limitation that only allowed printable ASCII characters, spacing is line breaks
– Jefferson Quesado
Okay then, thank you so much for the clarification and help @Jefferson Quesado
– LeonardoEbert