mirror of
https://github.com/nushell/nushell.git
synced 2025-04-29 07:34:28 +02:00
* feat: deprecate `hash base64` command * feat: extend `decode` and `encode` command families This commit - Adds `encode` command family - Backports `hash base64` features to `encode base64` and `decode base64` subcommands. - Refactors code a bit and extends tests for encodings - `decode base64` returns a binary `Value` (that may be decoded into a string using `decode` command) * feat: add `--binary(-b)` flag to `decode base64` Default output type is now string, but binary can be requested using this new flag.
9 lines
142 B
Rust
9 lines
142 B
Rust
mod generic_digest;
|
|
mod hash_;
|
|
mod md5;
|
|
mod sha256;
|
|
|
|
pub use self::hash_::Hash;
|
|
pub use self::md5::HashMd5;
|
|
pub use self::sha256::HashSha256;
|