]>
description | base64 alternative for all those homebrew unary computers :^) |
last change | Thu, 10 Nov 2016 02:17:06 +0000 (03:17 +0100) |
URL | https://git.gir.st/base1.git |
Reimplementation of ferno's base1
in C for UNIXoid shells.
To generate the binary, run make
. Then, copy the resulting base1
binary to a directory in your $PATH
.
base1
uses GNU's base64
tool as a reference and therefore has similar command line arguments. This means, you can either pipe data in or give a file as an argument.
The non-standard parameter -t
will return the length of the string to be encoded, or warn if it will overflow.
Can't do: even on 64 bit machines the length of the resulting string will be larger than unsigned long long int
. I en- and decoded the string Hallo
- it took 52 minutes!
echo -n "Hi" | ./base1 -w 0
will output 18794 A
s.
base1
is released under the GNU General Public License, version 3.
See LICENSE
for details. © 2016 Tobias Girstmair, isticktoit.net
2016-11-10 | girst | added return values to indicate failure master github/master | commit | commitdiff | tree | snapshot (tar.gz tar.bz2 zip) |
2016-11-10 | girst | added license (gplv3) | commit | commitdiff | tree | snapshot (tar.gz tar.bz2 zip) |
2016-11-10 | girst | First version | commit | commitdiff | tree | snapshot (tar.gz tar.bz2 zip) |
7 years ago | master | shortlog | log | tree |