Skip to content

Tmw/base64-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Base64 implementation in Rust

This repository holds the completed project accompanying the blogpost Implementing Base64 from scratch in Rust. It is by no means a perfect implementation of Base64 but rather meant as a learning project. Feedback and PRs are welcomed 🙂

Usage

This project is built and run using cargo.

Compiling and running the binary

# encoding
echo 'fluffy pancakes' | cargo run -- encode
> Zmx1ZmZ5IHBhbmNha2Vz

# and the reverse
echo 'Zmx1ZmZ5IHBhbmNha2Vz' | cargo run -- decode
> fluffy pancakes

Running tests

cargo test

License

MIT

About

Basic Base64 implementation in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages