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 2022/12/16 07:03:29 UTC

[GitHub] [shardingsphere] tianshuainan opened a new issue, #22907: How to implement customized encrypt algorithm in 5.3.0

tianshuainan opened a new issue, #22907:
URL: https://github.com/apache/shardingsphere/issues/22907

   Currently, shardingsphere version is 4.1.1 in my project,so I want to update to 5.3.0.  i am using shardingsphere-jdbc's customized encryption feature.now,I cannot find related docment and conf.  Can you provide some example or docment? Thanks a lot!


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tianshuainan commented on issue #22907: How to implement customized encrypt algorithm in 5.3.0

Posted by GitBox <gi...@apache.org>.
tianshuainan commented on issue #22907:
URL: https://github.com/apache/shardingsphere/issues/22907#issuecomment-1356243493

   nb! Thanks you a lot!  Your answer is very helpful to me! 
   I stiill have a question: Is queryAssistedEncryptor is disappear or replaced by other? beacuse i want to query by encryptedfield.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] azexcy commented on issue #22907: How to implement customized encrypt algorithm in 5.3.0

Posted by GitBox <gi...@apache.org>.
azexcy commented on issue #22907:
URL: https://github.com/apache/shardingsphere/issues/22907#issuecomment-1354500920

   hi @tianshuainan https://shardingsphere.apache.org/document/5.3.0/cn/dev-manual/encrypt/
   I hope this is helpful


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tianshuainan commented on issue #22907: How to implement customized encrypt algorithm in 5.3.0

Posted by GitBox <gi...@apache.org>.
tianshuainan commented on issue #22907:
URL: https://github.com/apache/shardingsphere/issues/22907#issuecomment-1354307454

   In class EncryptAlgorithm, there is no override method such as previous "`encrypt(Object o) ,decrypt(String ciphere)`"
   `public class MyEncryptor implements EncryptAlgorithm {}`


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu commented on issue #22907: How to implement customized encrypt algorithm in 5.3.0

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #22907:
URL: https://github.com/apache/shardingsphere/issues/22907#issuecomment-1355823850

   Hi @tianshuainan, you can try to implement StandardEncryptAlgorithm interface. Since we have added support for like, currently EncryptAlgorithm has two sub-interfaces StandardEncryptAlgorithm and LikeEncryptAlgorithm, which are used for standard encryption algorithms and LIKE encryption algorithms respectively.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org