Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 27 days ago
JSON representation
Common algorithms implemented in pure Bash
- Host: GitHub
- URL: https://github.com/bash-bastion/bash-algo
- Owner: bash-bastion
- License: bsd-3-clause
- Created: 2021-10-17T06:25:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-17T23:09:24.000Z (about 2 years ago)
- Last Synced: 2024-09-07T10:03:21.596Z (4 months ago)
- Topics: algorithms, basalt, bash, shell
- Language: Shell
- Homepage: https://bash-bastion.github.io/bash-algo/
- Size: 2.72 MB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```