Encryption

    Class name: org.apache.shardingsphere.encrypt.api.config.EncryptRuleConfiguration

    Attributes:

    Attributes:

    Class name: org.apache.shardingsphere.encrypt.api.config.rule.EncryptColumnRuleConfiguration

    Class name: org.apache.shardingsphere.infra.config.algorithm.AlgorithmConfiguration

    Attributes:

    1. Create the encryption rule object EncryptRuleConfiguration, and initialize the encryption table object EncryptTableRuleConfiguration, encryption algorithm and other parameters in the object.
    2. Call createDataSource of ShardingSphereDataSourceFactory to create ShardingSphereDataSource.