strcode

command module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

README

strcode

Encode and decode strings from the command line.

Usage

strcode [-d] <format> [input | -]
  • Pass input as an argument, pipe it via stdin, or use - to explicitly read stdin
  • Use -d to decode instead of encode
Flag Description
-d Decode instead of encode
-list List available formats
-version Show version

base64url produces padded output and accepts both padded and unpadded input when decoding.

Formats

ascii85, base32, base64, base64url, binary, hex, html, rot13, rot47, url

Examples

strcode base64 "hello world"
# aGVsbG8gd29ybGQ=

strcode -d rot13 "Uryyb Jbeyq"
# Hello World

Install

go install github.com/derekn/strcode@latest

Building

make build
# binary written to dist/

Build for all platforms:

make build-all

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL