trufflehog/pkg/decoders
Miccah fb76eaf17b
Use heuristic to choose the most likely UTF-16 decoded string (#1381)
* Use heuristic to choose the most likely UTF-16 decoded string

* Assume ASCII and include valid BE and LE bytes

* Remove unused code

* Assume ASCII and return nil when not utf16

---------

Co-authored-by: bill-rich <bill.rich@gmail.com>
2023-06-13 17:00:40 -07:00
..
base64.go Add Base64URLSafe decoder (#1292) 2023-05-18 08:30:47 -07:00
base64_test.go Add Base64URLSafe decoder (#1292) 2023-05-18 08:30:47 -07:00
decoders.go Add utf16 decoder (#1274) 2023-04-20 15:07:49 -07:00
utf8.go Use heuristic to choose the most likely UTF-16 decoded string (#1381) 2023-06-13 17:00:40 -07:00
utf8_test.go Add utf16 decoder (#1274) 2023-04-20 15:07:49 -07:00
utf16.go Use heuristic to choose the most likely UTF-16 decoded string (#1381) 2023-06-13 17:00:40 -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