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 2020/01/10 11:30:39 UTC

[GitHub] [incubator-shardingsphere] tristaZero commented on issue #3925: Solve the bug that the encryption result exception value is 'null' string when the encryption field value is null

tristaZero commented on issue #3925: Solve the bug that the encryption result exception value is 'null' string when the encryption field value is null
URL: https://github.com/apache/incubator-shardingsphere/pull/3925#issuecomment-572999809
 
 
   @minghu-zhang Hi minghui, thanks for your pr. 
   
   I found you added the judgement of `StringUtil.isNullOrEmpty(plaintext)` in `encrypt()` and `decrypt()` for `AESEncryptor` and `encrypt()` for `MD5Encryptor`, i am curious what will happen if the parameter for those functions is null or empty string?

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