Lucas-307 commented on issue #6835:
URL: https://github.com/apache/shardingsphere/issues/6835#issuecomment-674635340


   @WEIZIBIN you can create different encryptors for each, like this:
   ```yml
       sharding:
         encrypt-rule:
           encryptors:
             mobile_encryptor:
               type: MobileAESEncryptor
             address_encryptor:
               type: AddressAESEncryptor
           tables:
             upms_user_t:
               columns:
                 mobile:
                   plainColumn: mobile
                   cipherColumn: mobile_cipher
                   encryptor: mobile_encryptor
                 address:
                   plainColumn: address
                   cipherColumn: address_cipher
                   encryptor: address_encryptor
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to