Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/scrypt/deps.ts>decodeBase64

🔑 Deno library for hashing passwords using scrypt
Go to Latest
function decodeBase64
import { decodeBase64 } from "https://deno.land/x/scrypt@v4.3.3/deps.ts";

Decodes a base64-encoded string.

Examples

Example 1

import { encodeBase64 } from "https://deno.land/std@0.224.0/encoding/base64.ts";

encodeBase64("foobar"); // "Zm9vYmFy"

Parameters

b64: string

Returns

Uint8Array