You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "sandynz (via GitHub)" <gi...@apache.org> on 2023/05/25 02:06:42 UTC

[GitHub] [shardingsphere] sandynz commented on issue #25641: Add a new field (original type of entity-field) to the “EncryptContext” during EncryptAlgorithm#decrypt

sandynz commented on issue #25641:
URL: https://github.com/apache/shardingsphere/issues/25641#issuecomment-1562157328

   Hi @GaoEinstein , I had a look at the code, `AESEncryptAlgorithm.decrypt` always return `String` type for now, but not different types of Object.
   Since `EncryptContext` just contains `columnName`, without column metadata. So it could not decode to related Java types, e.g. BigDecimal.
   
   Are you interesting to supply a design proposal (contains how to change related API), we could discuss it then.
   


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