Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function encodeBase58
import { encodeBase58 } from "https://deno.land/std@0.208.0/encoding/base58.ts";

Encodes a given Uint8Array, ArrayBuffer or string into draft-mspotny-base58-03 RFC base58 representation: https://tools.ietf.org/id/draft-msporny-base58-01.html#rfc.section.1

Parameters

data: ArrayBuffer | Uint8Array | string

Returns

string