Make b64 encoder executable

This commit is contained in:
Nick Chambers 2021-12-07 03:08:06 -06:00
parent 0cb88222f8
commit 061d59805a
1 changed files with 2 additions and 0 deletions

2
bash/b64 Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
b64_encode() {
local idx=0 numerics table_idxs table_idx encoded
local table=( {A..Z} {a..z} {0..9} + / )