SEK1RO 470c018828
Some checks failed
Deploy documentation / deploy (push) Has been cancelled
update(AUTHORS)
2024-09-30 18:38:23 +03:00
2024-09-26 21:02:55 +03:00
2024-09-30 17:47:08 +03:00
2024-09-30 18:15:45 +03:00
2024-09-30 17:47:08 +03:00
2024-09-26 12:00:23 +03:00
2024-09-30 18:38:23 +03:00
2024-09-30 18:24:55 +03:00
2024-09-30 12:08:36 +03:00
2024-09-30 17:23:23 +03:00
2024-09-30 18:24:55 +03:00

libbasen

c++ encoding/decoding from arbitrary base

Packaging status latest packaged version(s)

Contents

Installation

Automatically from specified repositories:

Packaging status

Manually using make:

make -j $(nproc)
sudo make i USRDIR=(Your installation dir)

Uninstall:

sudo make uni USRDIR=(Your installation dir)

Documentation

Available here

Usage

libbasen package provides basen cli tool. Below are examples of use:

echo "hello world" | basen -t hex > encoded.data
basen -t hex -d < encoded.data > decoded.data
echo "arbitrary alphabet" | basen -a "0123ABCD"

Contributing

Main branch is under protection rules, so you should create pull request. After merging will be runned authors.sh for adding all contributors usernames and their number of commits to AUTHORS file.

Now we would like to implement the following features:

  • Base32
  • BCH
  • Bech32

For build with with debug flags:

make -j $(nproc) DEBUG=

For build tests (needed gtest package as dependency):

make tests -j $(nproc) DEBUG=

For generating coverage:

make cover -j $(nproc) DEBUG=

⬆️ Contents

Description
encoding/decoding from arbitrary base
Readme 532 KiB
Languages
C++ 88.9%
HTML 8.3%
Meson 2.3%
Shell 0.5%