How to encrypt a column? #3717
Unanswered
brandonkal
asked this question in
Q&A
Replies: 1 comment 1 reply
-
sqlc doesn't offer any support for client-side encryption. You would need to create your own type with custom scan / value methods that encrypt / decrypt the data as it's read across the wire. I haven't seen anyone do this before, so can't offer any examples. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, I want to generate code that encrypts and decrypts a specific column/field on the Go side when storing and retrieving the value from the database to better protect sensitive data. How can this be done?
Beta Was this translation helpful? Give feedback.
All reactions