compression and custom encryption

Options
Sergiy
Sergiy
edited November 2012 in Photon Server
Hi

My client is Flash, so I have to implement custom encryption algorithms on server-side. It would be nice to have some compression also in order to minimize traffic. I was searching the forum for related topics, but without success.... Can you please help me?

1. How can I implement custom encryption on server-side?
2. How can I implement compression on server-side?

Thanks

UPD - To be more precise:
for example, let's say there is an OperationRequest (or EventData, doesn't matter) object with OperationCode= Authenticate and OperationParameter= UserName. One option is to encrypt UserName's value. But that's not what I'm asking. My question is how to encrypt the whole OperationRequest object? Of course, other side should decrypt received data, identify it as an OperationRequest object and pass it to appropriate class.

The same is for compression.

Thanks again :)

Comments

  • That's not possible right now. Sorry. You can either use our default encryption for the whole operation request, or implement your custom encryption / compression on the content of the operation / event.