NodeCrypto Help

Bytes to Multibase

Category: Data Conversion & Encoding ยท Node Type ID: converter-bytes-to-multibase

Encodes bytes into self-describing Multibase string with format prefix

Overview

Encodes a raw byte array (Uint8Array) into a self-describing Multibase string by prepending the standard single-character Multibase format prefix to the encoded body.

Supported formats include base58btc (prefix z), base16 lowercase hex (prefix f), base16_upper uppercase hex (prefix F), base64 standard unpadded (prefix m), and base64url unpadded (prefix u).

When to Use

Parameter Configuration

Parameter (ID)Type & DefaultVisibility ConditionDescription & Options
Multibase Format
base
select
Default: base58btc
Always visible Selects the Multibase encoding scheme and single-character prefix (z, f, F, m, or u).
  • base58btc: Base58BTC (prefix: z)
  • base16: Base16 Hex Lower (prefix: f)
  • base16_upper: Base16 Hex Upper (prefix: F)
  • base64: Base64 Standard (prefix: m)
  • base64url: Base64URL (prefix: u)

Port I/O Specification

See Ports & Connections for general wiring rules, data type colors, and dynamic port creation.

Input Ports

Port Nature: Fixed Input Ports (1 total).

Port NamePort IDData TypeRequiredVisibility ConditionDescription
Bytes In bytes Bytes Required Always visible Raw byte array (Uint8Array) to encode.

Output Ports

Port Nature: Fixed Output Ports (1 total).

Port NamePort IDData TypeVisibility ConditionDescription
Multibase Out string String Always visible Self-describing Multibase string (prefix character + encoded payload).

Error Cases

This node has no runtime failure cases (errorProfile: none) and always succeeds for any valid typed input.

Examples

Creating a Base58BTC Multibase String (z-prefixed)

Encode a public key buffer with the Multibase z prefix.

  1. Connect your byte buffer to Bytes and set Multibase Format to Base58BTC (prefix: z).
  2. The Multibase String output emits a string starting with z....