Add EncryptContext parameter to EncryptAlgorithm SPI method
See original GitHub issueFeature 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?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Possibly poor performance in SQL rewrite #13893 - GitHub
Remove SchemaAvailable interface and add schemaName param for encrypt #15120. Merged. Add EncryptContext parameter to EncryptAlgorithm and ...
Read more >RFC 9145 - Integrity Protection for the Network Service ...
Concretely, this document adds integrity protection and optional encryption ... This specification introduces new Variable-Length Context Headers to carry ...
Read more >HP OpenVMS Version 8.3 New Features and ... - Digiater.nl
an AES encryption algorithm and a user-specified key to encrypt and ... Several new system parameters have been added to this release: •....
Read more >HP OpenVMS Version 8.3 New Features and ... - manualzz
ENCRYPT$ application program interface (API) changes are minimal with only textual parameter or flag changes required to use the AES algorithm. • AES...
Read more >RFC 9145 - Integrity Protection for the Network Service Header ...
This specification presents an optional method to add integrity protection directly to the Network Service ... New NSH Variable-Length Context Headers 4.6.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@WEIZIBIN Just a ping. What’s your thought? I think the
encrypt Rule
configuration will help you set the encrypt algorithm for specific tables and columns.@WEIZIBIN For many users, they just want to give the configuration instead of the program. If there are many appropriate encrypted algorithms for users, they could simply focus on their configuration for tables and columns.
BTW, if you implement some powerful encrypted algorithms, welcome to contribute the community. 😃