@@ -8,48 +8,45 @@ Paddle Serving provides model encryption inference, This document shows the deta
...
@@ -8,48 +8,45 @@ Paddle Serving provides model encryption inference, This document shows the deta
We use symmetric encryption algorithm to encrypt the model. Symmetric encryption algorithm uses the same key for encryption and decryption, it has small amount of calculation, fast speed, is the most commonly used encryption method.
We use symmetric encryption algorithm to encrypt the model. Symmetric encryption algorithm uses the same key for encryption and decryption, it has small amount of calculation, fast speed, is the most commonly used encryption method.
### Got an encrypted model
### Got an Encrypted Model
First of all, you got have a key for encryption.
Normal model and parameters can be understood as a string, by using the encryption algorithm (parameter is your key) on them, the normal model and parameters become an encrypted one.
Normal model and parameters can be understood as a string, by using the encryption algorithm (parameter is your key) on them, the normal model and parameters become an encrypted one.
We provide a simple demo to encrypt the model. See the file
We provide a simple demo to encrypt the model. See the [document](../python/examples/encryption/)。
Suppose you already have an encrypted model(in the `encrypt_server/`),you can start the encryption model service by adding an additional command line parameter `--use_encryption_model`