How to enable encrypt invoice in email like salary slip

Dear

I want to encypt invoice in email when send to clients, like salary slip, enable encrypt function.

So can anyone help to this function?