Package Details: multibase 1.0-1

Git Clone URL: https://aur.archlinux.org/multibase.git (read-only, click to copy)
Package Base: multibase
Description: Multi-base encoding/decoding utility. Allow encoding and decoding in base32, base58, base64, base64URL, base85 of file and strings
Upstream URL: https://github.com/Nhoya/multibase
Keywords: base32 base58 base64 base64URL
Licenses: GPLv3
Submitter: Nhoya
Maintainer: Nhoya
Last Packager: Nhoya
Votes: 4
Popularity: 0.000063
First Submitted: 2017-09-22 15:08 (UTC)
Last Updated: 2017-09-22 15:08 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

esemeniuc commented on 2022-12-05 15:54 (UTC)

Install is broken unfortunately:

==> Making package: multibase 1.0-1 (Mon 05 Dec 2022 07:53:18 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Installing dependencies
go: go.mod file not found in current directory or any parent directory.
    'go get' is no longer supported outside a module.
    To build and install a command, use 'go install' with a version,
    like 'go install example.com/cmd@latest'
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
==> ERROR: A failure occurred in build().
    Aborting...
error making: multibase
➜  ~

willspoke commented on 2018-08-28 18:56 (UTC)

Perfect!

Thanks so much for this clarification. All works fine now.

Nhoya commented on 2018-08-28 18:09 (UTC) (edited on 2018-08-28 18:15 (UTC) by Nhoya)

OK here is an example of encryption/decryption

echo "hello world" | mb --b64

Y2lhbwo=

echo "Y2lhbwo=" | mb --b64 -d

hello world

mb printed the help because you didn't specified the base to decode

willspoke commented on 2018-08-28 17:26 (UTC)

Thanks for the response!

I tried this on a base64 encoded string, but instead of hanging, it now displays the help file for mb.

Maybe there is a different way to feed mb with the string?

Nhoya commented on 2018-08-28 10:28 (UTC)

The -d option is expecting the input in pipe, so the correct syntax is

echo "encoded string" | mb -d

willspoke commented on 2018-08-27 22:57 (UTC)

Unable to decrypt.

'mb -d [string]' or 'mb --decrypt [string]' hangs at command prompt

-f option works fine and encrypts properly.