Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/crypto/base32.ts>base32StringToBytes

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function base32StringToBytes
import { base32StringToBytes } from "https://deno.land/x/earthstar@v10.0.0-beta.5/src/crypto/base32.ts";

Decode base32 string to a uint8array of bytes. Throw a ValidationError if the string is bad.

Returns

Uint8Array