encode enabled community medium v1.0.0

basenc

Base encoding/decoding utility from coreutils, can read files via sudo or SUID.

📋 Live Preview
basenc {encoding} {input}
๐Ÿ“Ž encoding ๐Ÿ“Ž input
basenc {encoding} {input}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read

Parameters

Name Type Required Default Description Aliases
input file No - File to read -
encoding string No - Encoding type (e.g. --base64) -

Contract

Inputs

system.file.path

Path to input file

Outputs

process.output

Encoded file content

Side effects:

Workflow Edges

Produces

process.output

Consumes

system.file.path

Resource Profile

ResourceValue
CPUlow
Memory4 MB
Networknone
Disk I/Olow

Examples

Read a file via basenc with base64 encoding

basenc --base64 /path/to/input-file | basenc -d --base64

Related Tools

base64base32base58

References