Skip to content

Toerktumlare/base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base64

This repository contains a base64 implementation written in rust.

Usage

base64 0.1.0
Encodes supplied [text] as a String into base64 encoded text.

USAGE:
    base64 [OPTIONS] [text]

ARGS:
    <text>    

OPTIONS:
    -d, --decode <TEXT>    text to decode
    -w, --wrap <COLS>      wrap encoded lines after COLS value.
                           Use 0 to disable line wrapping. [default: 76]
    -h, --help             Print help information
    -V, --version          Print version information

Todo:

  • encoding
  • decoding
  • decoding flag (-d, --decode)
  • ignore garbage
  • fail on garbage input
  • ignore garbage flag (-i, --ignore-garbage)
  • version flag
  • default wrapping
  • custom column wrapping flag (-c, --cols=n)
  • proper error handling

About

A Base64 implementation written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages