.github
updated pool type and optimised print and added e2e testsbuilder
Add support for SafeByte and SafeBytesinterfaces
introduce hash-based redactioninternal
markers: replace regexp with scanning in StripMarkers and EscapeMarkersotelprocessor
Add OTel collector processor for redact.gitignore
Initial commit.travis.yml
Add 1.15 to travis confapi.go
replaced sha1 with sha256 and optimised heap allocs.bench_test.go
updated pool type and optimised print and added e2e testsdoc.go
Minor doc adjustment.go.mod
replaced sha1 with sha256 and optimised heap allocs.hash_redact_test.go
Handled adjacent zones, InternalEscapeBytes for hash marker and added concurrency testLICENSE
Initial commitmarkers_print.go
New design, bug fixesmarkers_test.go
Try harder at avoiding empty strings inside redaction markers "‹›"README.md
README updates.util_test.go
New design, bug fixesutil.go
New design, bug fixesredact
Utilities to redact Go strings for confidentiality
Some explanations about how this is used in e.g. CockroachDB:
https://wiki.crdb.io/wiki/spaces/CRDB/pages/1824817806/Log+and+error+redactability