WEIZIBIN opened a new issue #6835:
URL: https://github.com/apache/shardingsphere/issues/6835


   ## Feature Request
   
   ### Is your feature request related to a problem?
   
   not
   
   ### Describe the feature you would like.
   
   In many commercial scenarios, the encryption and decryption of sensitive 
data requires different implementations of different fields in different 
tables, so the encryptor SPI should provide the context for developer (for 
example, table name, field name)
   
   maybe add a parameter `EncryptContext` in EncryptAlgorithm#encrypt and 
EncryptAlgorithm#decrypt method?
   
   
https://github.com/apache/shardingsphere/blob/0cac7762f763ca1a2fb18ef9841ed4a246598b83/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-api/src/main/java/org/apache/shardingsphere/encrypt/spi/EncryptAlgorithm.java#L34
   
   
   


----------------------------------------------------------------
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