trufflehog/pkg/decoders
ahrav 68f28a0e34
Filter unique detectors by keywords in chunk (#1711)
* pre filter detectors that include the keywords in the chunk.

* Optimize the engine to prevent iterating overing all detectors.

* use sync.Map for concurrent access.

* lint.

* use correct verify.

* allow versioned detectors.

* Break apart Start.

* cleanup.

* Update benchmark.

* add comment.

* remove Engine prefix.

* update comments.

* use regular map.

* delete the pool.

* remove old code.

* refactor ahocorasickcore into own file.

* update comments

* move structs to ahocorasickcore

* update comments

* fix

* address comments

* exported some methods and constructor since it will need to be be used by the enterprise pipeline as well

* remove extra log
2023-10-23 08:02:01 -07:00
..
base64.go Filter unique detectors by keywords in chunk (#1711) 2023-10-23 08:02:01 -07:00
base64_test.go Add Base64URLSafe decoder (#1292) 2023-05-18 08:30:47 -07:00
decoders.go Filter unique detectors by keywords in chunk (#1711) 2023-10-23 08:02:01 -07:00
utf8.go Filter unique detectors by keywords in chunk (#1711) 2023-10-23 08:02:01 -07:00
utf8_test.go Add utf16 decoder (#1274) 2023-04-20 15:07:49 -07:00
utf16.go Filter unique detectors by keywords in chunk (#1711) 2023-10-23 08:02:01 -07:00
utf16_test.dll Use heuristic to choose the most likely UTF-16 decoded string (#1381) 2023-06-13 17:00:40 -07:00
utf16_test.go Use heuristic to choose the most likely UTF-16 decoded string (#1381) 2023-06-13 17:00:40 -07:00