repositorypackage
0.0.0-20220206221748-6d9fec341a0b
Repository: https://github.com/bartmika/sqlprotector.git
Documentation: pkg.go.dev
# README
sqlprotector
A go package to add support for data at rest encryption to Golang's standard library database/sql
.
Installation
In your Golang project, please run:
go get github.com/bartmika/sqlprotector
Documentation
All documentation can be found here.
Contributing
Found a bug? Want a feature to improve your developer experience? Please create an issue.
License
Made with ❤️ by Bartlomiej Mika.
The project is licensed under the ISC License.
Resource used:
- How We Encrypt Data in MySQL With Go By Baron Schwartz helped me understand the overall big picture with what is involved with setting up your own data at rest encryption with Golang.
- Built In Interfaces by Jason Moiron help understand how we utilize the
sql.Scanner
anddriver.Valuer
interfaces inside the go packages database/sql to write our own custom functionality. - Securing Information in Database using Data Encryption (written in Go) by Purnaresa Yuliartanto help understand how to do encryption and decryption.
- go-cryptkeeper by Zach Auclair is a go package which implemented data at rest encryption utilizing the
sql.Scanner
anddriver.Valuer
interfaces inside the go packages database/sql to write our own custom functionality.