trrs
A CLI tool to transform data between different encodings.
bash
cargo install trrs
See trrs --help
for all options (as well as shorthand variants).
Some examples:
```bash
echo -n ALLYOURBASEAREBELONGTOUS | trrs --in-type ascii --out-type base32
echo -n IFGEYWKPKVJEEQKTIVAVERKCIVGE6TSHKRHVKUY= | trrs --in-type base32 --out-type base64
echo -n QUxMWU9VUkJBU0VBUkVCRUxPTkdUT1VT | trrs --in-type base64 --out-type hex
echo -n 414c4c594f55524241534541524542454c4f4e47544f5553 > hex trrs --in hex --in-type hex --out base64 --out-type base64 trrs --in base64 --in-type base64 --out base32 --out-type base32 trrs --in base32 --in-type base32 --out ascii --out-type ascii
cat ascii
```
Tips
```bash
echo -n 'hello world' | trrs ascii base64
echo -n 'hello world' | trrs --in-type ascii --out-type base64 ```