Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bash-bastion/bash-algo

Common algorithms implemented in pure Bash
https://github.com/bash-bastion/bash-algo

algorithms basalt bash shell

Last synced: about 2 months ago
JSON representation

Common algorithms implemented in pure Bash

Awesome Lists containing this project

README

        

# bash-algo

Common algorithms implemented in pure Bash

All algorithms use _only_ builtins and create _no subshells_

## Algorithms

- [x] URL encode
- [x] URL decode
- [x] base32 encode
- [x] base32 decode
- [x] base64 encode
- [x] base64 decode
- [ ] ascii85 encode
- [ ] ascii85 decode
- [x] PEM encode
- [x] PEM decode
- [ ] adler32
- [ ] crc32
- [ ] crc64
- [ ] md5
- [ ] sha1
- [ ] sha256

## Roadmap

- Pem_encode/decode uses subshells

## Installation

Use [Basalt](https://github.com/hyperupcall/basalt), a Bash package manager, to add this project as a dependency

```sh
basalt add hyperupcall/bash-algo
```