CodePudding user response:
Regardless of whether the response compression encryption, originally the gzip process don't need a set, because the web server itself gzip compression can be configured to transmit content,According to their needs to change, as long as your GZipStream method replacing their new encryption method, and then return to binary stream can be directly,
CodePudding user response:
A new encryption method is needed here, thank you, how to put the data stream encryption, need instanceCodePudding user response:
Where this instance? Your original code is gzipcompress (jsonbytes), directly to Encrypt (jsonbytes), and then the Response. The encrypted BinaryWrite array line ah,CodePudding user response:
If you can set password security betterCodePudding user response:
If there really is a high security requirements, or consider SSL two-way authentication,