You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/10/14 09:04:24 UTC

[GitHub] [incubator-shardingsphere] zzy97092236 opened a new issue #3255: DATA MASKING-- Encrypt-JDBC couldn't not get decrypt information after execute select method

zzy97092236 opened a new issue #3255: DATA MASKING--  Encrypt-JDBC couldn't not get decrypt information after execute select method
URL: https://github.com/apache/incubator-shardingsphere/issues/3255
 
 
           Properties props = new Properties();
           props.setProperty("aes.key.value", "123456");
           EncryptorRuleConfiguration encryptorConfig = new EncryptorRuleConfiguration("GMS", props);
           EncryptColumnRuleConfiguration columnConfig = new EncryptColumnRuleConfiguration("", "id_number_encypt", "", "aes");
           EncryptTableRuleConfiguration tableConfig = new EncryptTableRuleConfiguration(Collections.singletonMap("id_number", columnConfig));
           EncryptRuleConfiguration encryptRuleConfig = new EncryptRuleConfiguration();
           encryptRuleConfig.getEncryptors().put("aes", encryptorConfig);
           encryptRuleConfig.getTables().put("zzy_test_2018", tableConfig);
   
   Is there anything else to configure?
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services