Skip to content

bash-bastion/bash-algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

939da21 · Oct 17, 2022

History

34 Commits
Apr 29, 2022
Jun 25, 2022
Oct 17, 2022
Apr 29, 2022
Oct 17, 2022
Oct 17, 2022
Oct 17, 2022
Oct 17, 2021
Apr 29, 2022
Oct 17, 2022
Apr 29, 2022
Oct 17, 2022

bash-algo

Common algorithms implemented in pure Bash

All algorithms use only builtins and create no subshells

Algorithms

  • URL encode
  • URL decode
  • base32 encode
  • base32 decode
  • base64 encode
  • base64 decode
  • ascii85 encode
  • ascii85 decode
  • PEM encode
  • PEM decode
  • adler32
  • crc32
  • crc64
  • md5
  • sha1
  • sha256

Roadmap

  • Pem_encode/decode uses subshells

Installation

Use Basalt, a Bash package manager, to add this project as a dependency

basalt add hyperupcall/bash-algo