Skip to content
/ z Public

A simple CLI tool for encoding and decoding strings.

License

Notifications You must be signed in to change notification settings

aayushbtw/z

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

z

z - A simple CLI tool for encoding and decoding strings.

Installation

To use z, you need Go installed on your system. If Go is not already installed, follow the Go installation page.

Clone the repository and build the CLI tool:

git clone https://github.com/aayushbtw/z
cd z
go build -o z

Usage

Encode

To encode a string, use:

./z -t <algorithm> -e <string>
  • -t <algorithm>: Encoding algorithm. Choices: hex, binary, bin, base64, b64.
  • -e <string>: String to encode.

Example:

./z -t base64 -e "Hello, World!"

Decode

To decode a string, use:

./z -t <algorithm> -d <string>
  • -t <algorithm>: Decoding algorithm. Choices: hex, binary, bin, base64, b64.
  • -d <string>: String to decode.

Example:

./z -t base64 -d "SGVsbG8sIFdvcmxkIQ=="

Help

For help and usage information:

./z -h

About

A simple CLI tool for encoding and decoding strings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages