Client Side encrypt and sign