Add hash command with base64 subcommand (#2769)

* WIP try testing hash command

Ensure test worked

fmt

WIP get it working for other types of base64

Use optional named arg

WIP

* rebased and refactored a little with encoding and decoding

Fix some typos

Add some more charactersets

refactor several args into the encoding config struct and fix character_set arg. It needs to match the field

Add main hash command so it can be found via help

Added tests for running the whole pipeline

* add test case to cover invalid character sets

* clippy and fmt
This commit is contained in:
Ryan Blecher
2020-11-30 12:47:35 -05:00
committed by GitHub
parent e299e76fcf
commit b193303aa3
10 changed files with 556 additions and 90 deletions

View File

@ -20,6 +20,7 @@ mod flatten;
mod format;
mod get;
mod group_by;
mod hash_;
mod headers;
mod histogram;
mod insert;